https://mooseframework.inl.gov
include
systems
ComputeResidualFunctor.h
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
10
#pragma once
11
12
#include "libmesh/nonlinear_implicit_system.h"
13
#include "
MooseTypes.h
"
14
15
namespace
libMesh
16
{
17
template
<
typename
>
18
class
NumericVector;
19
class
NonlinearImplicitSystem;
20
}
21
22
class
FEProblemBase
;
23
24
class
ComputeResidualFunctor
:
public
libMesh::NonlinearImplicitSystem::ComputeResidual
25
{
26
private
:
27
FEProblemBase
&
_fe_problem
;
28
29
public
:
30
ComputeResidualFunctor
(
FEProblemBase
& fe_problem);
31
32
void
residual
(
const
NumericVector<Number>
& soln,
33
NumericVector<Number>
&
residual
,
34
libMesh::NonlinearImplicitSystem
& sys)
override
;
35
};
ComputeResidualFunctor::residual
void residual(const NumericVector< Number > &soln, NumericVector< Number > &residual, libMesh::NonlinearImplicitSystem &sys) override
Definition:
ComputeResidualFunctor.C:18
NumericVector< Number >
libMesh
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
libMesh::NonlinearImplicitSystem
FEProblemBase
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Definition:
FEProblemBase.h:132
libMesh::NonlinearImplicitSystem::ComputeResidual
MooseTypes.h
ComputeResidualFunctor::_fe_problem
FEProblemBase & _fe_problem
Definition:
ComputeResidualFunctor.h:27
ComputeResidualFunctor
Definition:
ComputeResidualFunctor.h:24
ComputeResidualFunctor::ComputeResidualFunctor
ComputeResidualFunctor(FEProblemBase &fe_problem)
Definition:
ComputeResidualFunctor.C:13
Generated on Thu Jul 17 2025 01:32:08 for https://mooseframework.inl.gov by
1.8.14