Hey, Thanks for the help and sorry for the slow reply; I've been using the deprecated code for now. I had to prepare for a conference presentation and didn't want to worry about updating or anything.
I just did a git pull so I should have the most recent version of libmesh (0.9.4 I think). I tried calling sub_point_locator() just after the mesh was constructed but still got the same warning. Thanks, Andy On Wed, Jun 10, 2015 at 1:34 PM, Roy Stogner <[email protected]> wrote: > > On Wed, 10 Jun 2015, Andrew Donaldson Davis wrote: > > const libMesh::PointLocaterBase& ptLocator(mesh.point_locator()); >> libMesh::Elem* element = ptLocator(point); >> >> Is there a better way to do this? >> > > sub_point_locator(). Call it first (ignoring the result if necessary) > from outside threaded code so the master locator will be constructed; > subsequent calls can then be used safely from within different > threads. > --- > Roy > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
