On Wed, Jun 10, 2015 at 1:59 PM, Andrew Donaldson Davis <[email protected]>
wrote:

> Hello,
>
> I'm trying to figure out which element a point is in.  Right now I am doing
> something like:
>
> const libMesh::PointLocaterBase& ptLocator(mesh.point_locator());
> libMesh::Elem* element = ptLocator(point);
>
> but I get this warning:
>
> *** Warning, This code is deprecated, and likely to be removed in future
> library versions! src/mesh/mesh_base.C, line 386, compiled Dec  2 2014 at
> 08:51:16 ***
>
> Is there a better way to do this?
>

Probably.  But I don't know what version of libmesh you are using... mine
doesn't have a libmesh_deprecated message on that line.

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

Reply via email to