On Thu, 21 Aug 2014, Miguel Angel Salazar de Troya wrote: > A quadrangular element can only have four neighbors?
Right. > Say in the left side I have a refined element with just one level > more of refinement. The neighbor I would get would be the parent > element? The element that's at the same level than me? I will > illustrate it: > > ---------------------- > | | | | > | | e | | > | | | | > |-----------| f | > | | | | > | | | | > | | | | > ---------------------- > > Calling > > for (unsigned int n_p=0; n_p<f->n_neighbors(); n_p++) > Elem * neighbor_f = f->neighbor(n_p); > > will never return the element e, but it would return its parent? Right. > What about the other way around? If I try to get the neighbors of e, will I > get f? Right. --- Roy ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
