[Dune] Local Refinement in a DUNE Grid

Oliver Sander sander at mi.fu-berlin.de
Wed Jan 5 17:02:42 CET 2011


Hi!
Please don't take this in a bad way, but your question is really covered
by the documentation.  Please consult it first before writing to the list.
best,
Oliver


Am 05.01.2011 16:59, schrieb S. Swayamjyoti:
> Just a correction! It need not be for refinement. I just need to know 
> how to access geometrical positions inside a grid? say x, y and z.
>
> On Wed, Jan 5, 2011 at 4:48 PM, S. Swayamjyoti <swayam.151 at gmail.com 
> <mailto:swayam.151 at gmail.com>> wrote:
>
>     Is it possible to give a conditional statement for refinement
>     based on the geometric position of the grid elements for refinement?
>
>     e.g   if ( 40 < x < 50 && 10 < y < 30)
>               {
>                 refine mesh!
>               }
>     where x and y are the grid vectors in x and y direction. Can
>     someone please tell me how do I find x and y, i.e how can I use
>     geometric parameters related to the grid in my code. Does it come
>     from the class GeometryType ?
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110105/ca6546a5/attachment.htm>


More information about the Dune mailing list