Public Member Functions | Private Attributes | List of all members
ComputeResidualFunctor Class Reference

#include <ComputeResidualFunctor.h>

Inheritance diagram for ComputeResidualFunctor:

Public Member Functions

 ComputeResidualFunctor (FEProblemBase &fe_problem)
void residual (const NumericVector< Number > &soln, NumericVector< Number > &residual, NonlinearImplicitSystem &sys) override

Private Attributes


Detailed Description

Definition at line 19 of file ComputeResidualFunctor.h.

Constructor & Destructor Documentation

◆ ComputeResidualFunctor()

ComputeResidualFunctor::ComputeResidualFunctor ( FEProblemBase fe_problem)

Definition at line 13 of file ComputeResidualFunctor.C.

13  : _fe_problem(fe_problem)
14 {
15 }

Member Function Documentation

◆ residual()

void ComputeResidualFunctor::residual ( const NumericVector< Number > &  soln,
NumericVector< Number > &  residual,
NonlinearImplicitSystem &  sys 

Definition at line 18 of file ComputeResidualFunctor.C.

21 {
25 }
bool & computingNonlinearResid()
Check whether residual being evaulated is non-linear.
Definition: SubProblem.h:521
void residual(const NumericVector< Number > &soln, NumericVector< Number > &residual, NonlinearImplicitSystem &sys) override
virtual void computeResidualSys(NonlinearImplicitSystem &sys, const NumericVector< Number > &soln, NumericVector< Number > &residual)
This function is called by Libmesh to form a residual.

Member Data Documentation

◆ _fe_problem

FEProblemBase& ComputeResidualFunctor::_fe_problem

Definition at line 22 of file ComputeResidualFunctor.h.

Referenced by residual().

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