#include "gvec.h" int GVecEvaluateFunction(GVec v, int numFields, int *fields, PointFunction f, PetscScalar alpha, void *ctx)
v | - The grid vector | |
numFields | - The number of fields to evaluate | |
fields | - The fields | |
f | - The user provided function | |
alpha | - The scalar multiplier | |
ctx | - [Optional] A user provided context for the function |
The function f should return ordered first by node and then by component.
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