>>> For example when I have an unstructured grid, and when I coarsen >>> uniformly twice and refine uniformly twice, would I get the exact >>> same mesh?!
One issue is we cannot coarsen below the initial, level-0 mesh. So if you start with a mesh, uniformly refine twice, and then uniformly coarsen two times you will get back to the initial mesh. I think there was a little confusion - you first asked 'coarsen twice then refine twice' but then mentioned > I refine it once, all new elements get the > level_1 flag and become active while the original elements still are in > memory but inactive. And now if I coarsen the mesh uniformly, then the > level_1 elements become inactive and level_0 elements become active. the latter of which is certainly true. What's more, if you have a mesh and uniformly refine it N times, you will have N+1 total levels in the mesh, and you can access each level directly with a 'level element iterator.' we just usually use active local ones, especially in the examples. -Ben ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
