libMesh
Public Member Functions | List of all members
libMesh::NonlinearImplicitSystem::ComputeResidual Class Referenceabstract

Abstract base class to be used to calculate the residual of a nonlinear system. More...

#include <nonlinear_implicit_system.h>

Inheritance diagram for libMesh::NonlinearImplicitSystem::ComputeResidual:
[legend]

Public Member Functions

virtual ~ComputeResidual ()
 
virtual void residual (const NumericVector< Number > &X, NumericVector< Number > &R, sys_type &S)=0
 Residual function. More...
 

Detailed Description

Abstract base class to be used to calculate the residual of a nonlinear system.

Definition at line 80 of file nonlinear_implicit_system.h.

Constructor & Destructor Documentation

virtual libMesh::NonlinearImplicitSystem::ComputeResidual::~ComputeResidual ( )
virtual

Definition at line 83 of file nonlinear_implicit_system.h.

References residual().

83 {}

Member Function Documentation

virtual void libMesh::NonlinearImplicitSystem::ComputeResidual::residual ( const NumericVector< Number > &  X,
NumericVector< Number > &  R,
sys_type S 
)
pure virtual

Residual function.

This function will be called to compute the residual and must be implemented by the user in a derived class.

Referenced by libMesh::__libmesh_petsc_snes_residual(), libMesh::Problem_Interface::computeF(), and ~ComputeResidual().


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