GridGetNearestBdNode

This function returns the boundary node nearest to the given point on which the field is defined, or -1 if the node is not contained in the local mesh.

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridGetNearestBdNode(Grid grid, int field, double x, double y, double z, int *node)
Not collective

Input Parameters

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

Output Parameter

node -The nearest boundary node

Keywords

grid, node, point location

See Also

MeshNearestBdNode(), MeshLocatePoint()

Level:beginner
Location:
src/grid/interface/grid.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages