DMTSCheckJacobian#
Check the Jacobian of the exact solution against the residual using the Taylor Test
Synopsis#
#include "petscdmplex.h"
#include "petscts.h"
PetscErrorCode DMTSCheckJacobian(TS ts, DM dm, PetscReal t, Vec u, Vec u_t, PetscReal tol, PetscBool *isLinear, PetscReal *convRate)
Input Parameters#
Output Parameters#
isLinear - Flag indicaing that the function looks linear, or
NULLconvRate - The rate of convergence of the linear model, or
NULL
See Also#
TS: Scalable ODE and DAE Solvers, DNTSCheckFromOptions(), DMTSCheckResidual(), DNSNESCheckFromOptions(), DMSNESCheckDiscretization(), DMSNESCheckResidual()
Level#
developer
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages