DMPlexTSComputeIJacobianFEM#

Form the Jacobian Jac from the local input locX using pointwise functions specified by the user

Synopsis#

#include "petscdmplex.h" 
#include "petscts.h" 
PetscErrorCode DMPlexTSComputeIJacobianFEM(DM dm, PetscReal time, Vec locX, Vec locX_t, PetscReal X_tShift, Mat Jac, Mat JacP, void *user)

Input Parameters#

  • dm - The mesh

  • time - The time

  • locX - Local solution

  • locX_t - Local solution time derivative, or NULL

  • X_tShift - The multiplicative parameter for dF/du_t

  • user - The user context

Output Parameters#

  • Jac - the Jacobian

  • JacP - an additional approximation for the Jacobian to be used to compute the preconditioner (often is Jac)

See Also#

TS: Scalable ODE and DAE Solvers, TS, DM, DMPlexTSComputeIFunctionFEM(), DMPlexTSComputeRHSFunctionFEM()

Level#

developer

Location#

src/ts/utils/dmplexts.c


Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages