On Wed, 12 Nov 2008, Vijay M wrote:

>>> 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?!
>>
>> No.  For instance, the second mesh above is a uniform coarsening (so
>> far as such a thing exists) of the first mesh, but uniformly refining
>> it will produce two new elements that weren't in the first mesh.
>
> I do not understand this. I thought you maintained the level number for each
> element and so once I specify an initial mesh, all elements in it are
> treated as level_0. Now if 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.
>
> Isn't this how the refine-coarsen methodology implemented ? Or am I way off
> in my understanding ?

That's exactly how refine-coarsen is implemented, and refine*N
followed by coarsen*N will always give you the same mesh.

But coarsen*N followed by refine*N will not.  Again, take a look at
mesh 2 in my last email to see why.
---
Roy

-------------------------------------------------------------------------
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

Reply via email to