GVecInterpolateField

Interpolates the field defined by the grid vector to the specified point, and stores the components in the array provided.

Synopsis

#include "gvec.h" 
int GVecInterpolateField(GVec v, int field, double x, double y, double z, PetscScalar *values, InterpolationContext *ctx)

Input Parameter

v -The grid vector
x,y,z -The interpolation point
ctx -An InterpolationContext

Output Parameter

values -The interpolated field at the point

Keywords

grid vector, interpolation

See Also

GVecEvaluateFunction, GVecEvaluateFunctionGalerkin

Level:intermediate
Location:
src/gvec/interface/gvec.c
Index of all GVec routines
Table of Contents for all manual pages
Index of all manual pages