#include "petscdmplex.h" #include "petscsnes.h" PetscErrorCode DMPlexSetSNESLocalFEM(DM dm, void *boundaryctx, void *residualctx, void *jacobianctx)
dm | - The DM object | |
boundaryctx | - the user context that will be passed to pointwise evaluation of boundary values (see PetscDSAddBoundary()) | |
residualctx | - the user context that will be passed to pointwise evaluation of finite element residual computations (see PetscDSSetResidual()) | |
jacobianctx | - the user context that will be passed to pointwise evaluation of finite element Jacobian construction (see PetscDSSetJacobian()) |