libMesh
|
Abstract base class to be used to calculate the residual and Jacobian simultaneously of a nonlinear system. More...
#include <nonlinear_implicit_system.h>
Public Member Functions | |
virtual | ~ComputeResidualandJacobian ()=default |
virtual void | residual_and_jacobian (const NumericVector< Number > &X, NumericVector< Number > *R, SparseMatrix< Number > *J, sys_type &S)=0 |
Residual & Jacobian function, calculated simultaneously. More... | |
Abstract base class to be used to calculate the residual and Jacobian simultaneously of a nonlinear system.
Definition at line 170 of file nonlinear_implicit_system.h.
|
virtualdefault |
|
pure virtual |
Residual & Jacobian function, calculated simultaneously.
This function will be called to compute the residual and jacobian simultaneously and must be implemented by the user in a derived class.
Referenced by libMesh::Problem_Interface::computeF(), libMesh::Problem_Interface::computeJacobian(), libMesh::Problem_Interface::computePreconditioner(), and libMesh::libmesh_petsc_snes_residual().