From: Vijay S. M. <vi...@gm...> - 2010-05-29 00:09:52
|
That helps ! I could just iterate the boundary mesh belonging to a certain subdomain and use the parent to get the necessary information. Vijay On Fri, May 28, 2010 at 7:05 PM, Kirk, Benjamin (JSC-EG311) <ben...@na...> wrote: > On 5/28/10 7:02 PM, "Vijay S. Mahadevan" <vi...@gm...> wrote: > >> I was thinking that it would provide the interior element for the >> side. But maybe this does not happen in my case due to the fact that I >> iterate over the elements belonging to a particular subdomain and do >> not explicitly get a side from the parent element itself. Is this >> correct ? > > > When we construct the boundary mesh we build elements coincident with the > boundary directly from the interior elements. At that time the boundary > element's 'parent' is set to the interior element it came from. > > So you should be safe iterating over the elements in the boundary mesh and > querying their parent - that should return the element from the original > mesh with no searching. > > -Ben > > > |