> my only concern with this approach is what occurs if children have > children? Because a cell has children need not mean it has been refined > during this refinement step (I think). I guess the criteria would be that > the children are active (ie no children)?
Yes, sorry, that's of course the correct criterion. > If you coarsen a mesh does the coarsened cell still have children? You mean the parent cell whose children have been removed? No. > the coarsening part is less obvious to me. > i have the cells to be coarsened in a vector, the objective is now to find > their parents. I can loop over all cells and check to see if their children > are in the cells to be coarsened. Of coarse this only makes sense if a > coarsened cell has children after refinement. If not then I would need to > loop over the triangulation prior to executing the refinement. That's indeed the case. By the way, you are aware of the SolutionTransfer class, right? W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
