GVecEvaluateFunctionGalerkinCollective

Evaluates the weak form of a function over a field on the locations defined by the underlying grid and its discretization. The only difference between it and GVecEvaluateFunctionGalerkin(), is that each processor is guaranteed to call f at each iteration, possibly with null arguments.

Synopsis

#include "gvec.h" 
int GVecEvaluateFunctionGalerkinCollective(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