OGS
AnchorTerm.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
SourceTerm.h
"
14
15
namespace
ProcessLib
16
{
17
template
<
int
GlobalDim>
18
class
AnchorTerm
final :
public
SourceTerm
19
{
20
public
:
21
explicit
AnchorTerm
(
22
std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table,
23
std::size_t
const
source_term_mesh_id,
MeshLib::Mesh
const
& st_mesh,
24
const
int
variable_id,
25
ParameterLib::Parameter<double>
const
& parameter);
26
27
void
integrate
(
const
double
t,
GlobalVector
const
& x,
GlobalVector
& b,
28
GlobalMatrix
* jac)
const override
;
29
30
private
:
31
std::size_t
const
source_term_mesh_id_
;
32
MeshLib::Mesh
const
&
st_mesh_
;
33
int
const
variable_id_
;
34
ParameterLib::Parameter<double>
const
&
parameter_
;
35
};
36
37
extern
template
class
AnchorTerm<2>
;
38
extern
template
class
AnchorTerm<3>
;
39
}
// namespace ProcessLib
SourceTerm.h
MathLib::EigenMatrix
Definition
EigenMatrix.h:29
MathLib::EigenVector
Global vector based on Eigen vector.
Definition
EigenVector.h:25
MeshLib::Mesh
Definition
Mesh.h:43
ProcessLib::AnchorTerm
Definition
AnchorTerm.h:19
ProcessLib::AnchorTerm::parameter_
ParameterLib::Parameter< double > const & parameter_
Definition
AnchorTerm.h:34
ProcessLib::AnchorTerm::source_term_mesh_id_
std::size_t const source_term_mesh_id_
Definition
AnchorTerm.h:31
ProcessLib::AnchorTerm::integrate
void integrate(const double t, GlobalVector const &x, GlobalVector &b, GlobalMatrix *jac) const override
Definition
AnchorTerm.cpp:38
ProcessLib::AnchorTerm::st_mesh_
MeshLib::Mesh const & st_mesh_
Definition
AnchorTerm.h:32
ProcessLib::AnchorTerm::AnchorTerm
AnchorTerm(std::unique_ptr< NumLib::LocalToGlobalIndexMap > source_term_dof_table, std::size_t const source_term_mesh_id, MeshLib::Mesh const &st_mesh, const int variable_id, ParameterLib::Parameter< double > const ¶meter)
Definition
AnchorTerm.cpp:22
ProcessLib::AnchorTerm::variable_id_
int const variable_id_
Definition
AnchorTerm.h:33
ProcessLib::SourceTerm
Definition
SourceTerm.h:21
ProcessLib
Definition
ProjectData.h:51
ParameterLib::Parameter
Definition
Parameter.h:141
ProcessLib
BoundaryConditionAndSourceTerm
AnchorTerm.h
Generated by
1.10.0