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.<br><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 4:48 PM, S. Swayamjyoti <span dir="ltr"><<a href="mailto:swayam.151@gmail.com">swayam.151@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Is it possible to give a conditional statement for refinement based on the geometric position of the grid elements for refinement?<br>
<br>e.g if ( 40 < x < 50 && 10 < y < 30)<br> {<br> refine mesh!<br>
}<br>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 ?<br>
<br>
</blockquote></div><br>