153 // We are going to check if the coarsening extension (closely related to the coarsening neighborhood) of the parent of \a box (since it will be elevated) fulfills the conditions of an empty coarsening neighborhood, as well as the condition of an empty coasening neighborhood provided that there is no element that will be refined herein.
154 bool clean = true;
155
156 // if (m_m>=2) // admissiblity part
157 // {
158 // 1) Check if the coarsening neighborhood is empty
163 for (typename gsHBox<d,T>::Iterator it = Cextension.begin(); it != Cextension.end() && clean; it++)
164 {
165 it->computeCenter();
166 clean &=
167 // the level is even larger (i.e. even higher decendant); then it is not clean
168 (!((it->levelInCenter()>=it->level()))
169 )
170 ;
171 }
172
173 if (!clean) return clean;
174 // }
175
176 // 2) Now we check if the parents of any of the cells in the extensions overlap with the marked cells. If so, it would cause a problem with the coarsening.