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#

PetscDS, PetscPointFn, PetscDSGetContext()

Level#

intermediate

Location#

src/dm/dt/interface/dtds.c

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