DMPointLocationType#

Describes the method to handle point location failure

Synopsis#

If a search using DM_POINTLOCATION_NONE fails, the failure is signaled with a negative cell number. On the other hand, if DM_POINTLOCATION_NEAREST is used, on failure, the (approximate) nearest point in the mesh is used, replacing the given point in the input vector. DM_POINTLOCATION_REMOVE returns values only for points which were located.

See Also#

DMLocatePoints()

Level#

beginner

Location#

include/petscdmtypes.h


Edit on GitLab

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages