GVecEvaluateFunctionGalerkin

Evaluates the weak form of a function over a field on the locations defined by the underlying grid and its discretization.

Synopsis

#include "gvec.h" 
int GVecEvaluateFunctionGalerkin(GVec v, int numFields, int *fields, PointFunction f, PetscScalar alpha, void *ctx)

Input Parameter

v -The grid vector
numFields -The number of fields to evaluate
fields -The fields
f -The user provided function
alpha -A scalar multiplier
ctx -An optional user provided context for the function

See Also

GVecEvaluateFunction,GMatEvaluateFunctionGalerkin

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