GVecEvaluateFunctionRectangular

Evaluates a function over the specified fields on the locations defined by the underlying grid and its discretization, and takes a user-defined ordering.

Synopsis

#include "gvec.h" 
int GVecEvaluateFunctionRectangular(GVec v, VarOrdering order, PointFunction f, PetscScalar alpha, void *ctx)

Input Parameters

v - The grid vector
order - The variable ordering
f - The user provided function
alpha - A scalar multiplier
ctx - An optional user provided context for the function

See Also

GVecEvaluateFunctionGalerkin,GMatEvaluateOperatorGalerkin

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