[Dune] Local Refinement in a DUNE Grid

S. Swayamjyoti swayam.151 at gmail.com
Wed Jan 5 16:48:19 CET 2011


Is it possible to give a conditional statement for refinement based on the
geometric position of the grid elements for reminement?

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/7cc3304c/attachment.htm>


More information about the Dune mailing list