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

------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to