https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeFDResidualFunctor.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
18void
19ComputeFDResidualFunctor::residual(const NumericVector<Number> & soln,
20 NumericVector<Number> & residual,
22{
25}
ComputeFDResidualFunctor(FEProblemBase &fe_problem)
void residual(const libMesh::NumericVector< Number > &soln, libMesh::NumericVector< Number > &residual, libMesh::NonlinearImplicitSystem &sys) override
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
void computingNonlinearResid(bool computing_nonlinear_residual) final
Set whether or not the problem is in the process of computing the nonlinear residual.
virtual void computeResidualSys(libMesh::NonlinearImplicitSystem &sys, const NumericVector< libMesh::Number > &soln, NumericVector< libMesh::Number > &residual)
This function is called by Libmesh to form a residual.