On 09/06/2017 02:41 PM, John Peterson wrote:


On Tue, Sep 5, 2017 at 10:51 PM, Michael Povolotskyi <mpovo...@purdue.edu <mailto:mpovo...@purdue.edu>> wrote:

    Dear Libmesh community,

    I have a question about PointLocator.

    Does it search among all active elements or among local active
    elements?



The PointLocatorBase::build() function takes a PointLocatorType enum which can be one of {TREE, TREE_ELEMENTS, TREE_LOCAL_ELEMENTS}.

The PointLocator in Meshbase is built with the TREE_ELEMENTS enumeration:

_point_locator.reset (PointLocatorBase::build(TREE_ELEMENTS, *this).release());

so that will look search in all elements in the mesh by default.

--
John

Thank you, it is clear now.

Michael.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to