www.mooseframework.org
ComputeFDResidualFunctor.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 #include "FEProblemBase.h"
12 
14  : _fe_problem(fe_problem)
15 {
16 }
17 
18 void
19 ComputeFDResidualFunctor::residual(const NumericVector<Number> & soln,
20  NumericVector<Number> & residual,
21  NonlinearImplicitSystem & sys)
22 {
25 }
bool computingNonlinearResid() const
Check whether residual being evaulated is non-linear.
Definition: SubProblem.h:577
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
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.
ComputeFDResidualFunctor(FEProblemBase &fe_problem)