#include <nonlinear_implicit_system.h>
Public Member Functions | |
virtual | ~ComputeResidualandJacobian () |
virtual void | residual_and_jacobian (const NumericVector< Number > &X, NumericVector< Number > *R, SparseMatrix< Number > *J, sys_type &S)=0 |
Abstract base class to be used to calculate the residual and Jacobian simultaneously of a nonlinear system.
Definition at line 165 of file nonlinear_implicit_system.h.
|
inlinevirtual |
Definition at line 168 of file nonlinear_implicit_system.h.
|
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(), libMesh::libmesh_petsc_snes_jacobian(), and libMesh::libmesh_petsc_snes_residual().