PetscDSSetContext#
Sets the context that is passed back to some of the pointwise function callbacks used by this PetscDS
Synopsis#
#include "petscds.h"
PetscErrorCode PetscDSSetContext(PetscDS ds, PetscInt f, void *ctx)
Not Collective
Input Parameters#
ds - The
PetscDS
f - The field number
ctx - the context
See Also#
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex11.c
src/ts/tutorials/ex48.c
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages