[Dune] Local Refinement in a DUNE Grid

S. Swayamjyoti swayam.151 at gmail.com
Wed Jan 5 16:59:22 CET 2011


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> 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 ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110105/4427d05a/attachment.htm>


More information about the Dune mailing list