PetscWeakFormHasDynamicJacobian — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscWeakFormHasDynamicJacobian

Returns whether the `PetscWeakForm` has any dynamic Jacobian (`g0`, `g1`, `g2`, or `g3`) pointwise functions registered

## Synopsis

    #include "petscds.h"
    PetscErrorCode PetscWeakFormHasDynamicJacobian(PetscWeakForm wf, PetscBool *hasDynJac)

Not Collective

## Input Parameter

- wf - The `PetscWeakForm`

## Output Parameter

- hasDynJac - `PETSC_TRUE` if any dynamic Jacobian pointwise functions are registered, `PETSC_FALSE` otherwise

## Note

The dynamic Jacobian is the Jacobian of the time-derivative term for transient problems.

## See Also

`PetscWeakForm`, `PetscWeakFormSetDynamicJacobian()`, `PetscWeakFormGetDynamicJacobian()`, `PetscWeakFormHasJacobian()`

## Level

intermediate

## Location

src/dm/dt/interface/dtweakform.c

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