www.mooseframework.org
include
systems
ComputeResidualFunctor.h
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
10
#pragma once
11
12
#include "libmesh/nonlinear_implicit_system.h"
13
14
using namespace
libMesh
;
15
16
class
FEProblemBase
;
17
18
class
ComputeResidualFunctor
:
public
NonlinearImplicitSystem::ComputeResidual
19
{
20
private
:
21
FEProblemBase
&
_fe_problem
;
22
23
public
:
24
ComputeResidualFunctor
(
FEProblemBase
& fe_problem);
25
26
void
residual(
const
NumericVector<Number>
& soln,
27
NumericVector<Number>
& residual,
28
NonlinearImplicitSystem
& sys)
override
;
29
};
libMesh::NumericVector< Number >
libMesh
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
FEProblemBase
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Definition:
FEProblemBase.h:148
ComputeResidualFunctor::_fe_problem
FEProblemBase & _fe_problem
Definition:
ComputeResidualFunctor.h:21
libMesh::NonlinearImplicitSystem
ComputeResidualFunctor
Definition:
ComputeResidualFunctor.h:18
Generated on Thu Apr 18 2024 15:23:09 for www.mooseframework.org by
1.8.14