PointFunctionInterpolateField
A PointFunction that gives the field value at a given point in the mesh based upon a grid vector representation.
Synopsis
#include "gvec.h"
int PointFunctionInterpolateField(int n, int comp, double *x, double *y, double *z, PetscScalar *values, void *ctx)
Input Paramters
n -The number of points
comp -The number of components
x,y,z -The coordinates of points
ctx -An InterpolationContext
Output Paramter
values -The location where the field values are stored
Keywords
point function, grid
See Also
PointFunctionOne, PointFunctionZero, PointFunctionConstant
Level:advanced
Location:src/gvec/interface/gvec.c
Index of all GVec routines
Table of Contents for all manual pages
Index of all manual pages