MeshLocatePoint

This function returns the element containing the given point, or -1 if it is not contained in the local mesh.

Synopsis

#include "mesh.h" 
int MeshLocatePoint(Mesh mesh, double x, double y, double z, int *containingElem)
Not collective

Input Parameters

mesh - The mesh
x,y,z - The node coordinates

Output Parameter

containingElem -An element containing the node, -1 for failure

Keywords

mesh, point location

See Also

MeshGetNearestNode(), MeshGetNodeSupport()

Level:beginner
Location:
src/mesh/interface/meshQuery.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages