libMesh::NonlinearImplicitSystem::ComputeResidualandJacobian Class Referenceabstract

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ComputeResidualandJacobian()

virtual libMesh::NonlinearImplicitSystem::ComputeResidualandJacobian::~ComputeResidualandJacobian ( )
inlinevirtual

Definition at line 168 of file nonlinear_implicit_system.h.

168 {}

Member Function Documentation

◆ residual_and_jacobian()

virtual void libMesh::NonlinearImplicitSystem::ComputeResidualandJacobian::residual_and_jacobian ( const NumericVector< Number > &  X,
NumericVector< Number > *  R,
SparseMatrix< Number > *  J,
sys_type S 
)
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().


The documentation for this class was generated from the following file: