Thanks Tim. I looked around and didn't seem to see an example where either MeshFunction or any of the PointLocator classes are used... I couldn't seem to find where in MeshFunction the PointLocatorBase object is used either..
Tried to look at the documentation but the Base class doesn't seem to contain much. There's PointLocatorTree and PointLocatorList to choose from that has the function I need implemented. Do you have any advice which one to stick to and some insight into how they differ? http://libmesh.sourceforge.net/doxygen/point__locator__base_8C_source.php#l00047 Thanks, Karen On Tue, Jun 8, 2010 at 2:17 AM, Tim Kroeger <[email protected] > wrote: > Dear Karen, > > > On Mon, 7 Jun 2010, Karen Lee wrote: > > I'm wondering what classes and functions you use to check which element of >> a >> mesh we're in, or, failing that, I can iterate through the elements and >> ask >> whether a given point is in an element. Is there a function that >> determines >> whether a given point is in a given element? >> > > You might want to have a look at the PointLocator* classes. As far as I > remember, only one of those two is really useable, but I can't remember > which one it was. You might also want to have a look at the MeshFunction > class, which I am using quite heavily; it internally uses one of the > PointLocator classes, and that is, it uses the correct one. > > Best Regards, > > Tim > > -- > Dr. Tim Kroeger > [email protected] Phone +49-421-218-7710 > [email protected] Fax +49-421-218-4236 > www.mevis.fraunhofer.de/~tim <http://www.mevis.fraunhofer.de/%7Etim> > > Fraunhofer MEVIS, Institute for Medical Image Computing > Universitaetsallee 29, 28359 Bremen, Germany > > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
