PetscDSSetUpperBound#
Set the pointwise upper bound function for a given field
Synopsis#
#include "petscds.h"
PetscErrorCode PetscDSSetUpperBound(PetscDS ds, PetscInt f, PetscPointBoundFn *ub, void *ctx)
Not Collective
Input Parameters#
ds - The
PetscDSf - The field number
ub - upper bound function for the test fields, see
PetscPointBoundFnctx - context or
NULLthat will be passed toub
See Also#
PetscDS, PetscPointBoundFn, PetscDSGetUpperBound(), PetscDSGetLowerBound(), PetscDSGetExactSolution()
Level#
intermediate
Location#
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages