OGS
SourceTerm.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <memory>
14
15
#include "
NumLib/DOF/LocalToGlobalIndexMap.h
"
16
#include "
ParameterLib/Parameter.h
"
17
18
namespace
ProcessLib
19
{
20
class
SourceTerm
21
{
22
public
:
23
explicit
SourceTerm
(
24
std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table)
25
:
_source_term_dof_table
{std::move(source_term_dof_table)}
26
{
27
}
28
29
virtual
void
integrate
(
const
double
t,
GlobalVector
const
& x,
30
GlobalVector
& b,
GlobalMatrix
* jac)
const
= 0;
31
32
virtual
~SourceTerm
() =
default
;
33
34
protected
:
35
std::unique_ptr<NumLib::LocalToGlobalIndexMap>
const
_source_term_dof_table
;
36
};
37
38
}
// namespace ProcessLib
LocalToGlobalIndexMap.h
Parameter.h
MathLib::EigenMatrix
Definition
EigenMatrix.h:29
MathLib::EigenVector
Global vector based on Eigen vector.
Definition
EigenVector.h:25
ProcessLib::SourceTerm
Definition
SourceTerm.h:21
ProcessLib::SourceTerm::integrate
virtual void integrate(const double t, GlobalVector const &x, GlobalVector &b, GlobalMatrix *jac) const =0
ProcessLib::SourceTerm::~SourceTerm
virtual ~SourceTerm()=default
ProcessLib::SourceTerm::SourceTerm
SourceTerm(std::unique_ptr< NumLib::LocalToGlobalIndexMap > source_term_dof_table)
Definition
SourceTerm.h:23
ProcessLib::SourceTerm::_source_term_dof_table
std::unique_ptr< NumLib::LocalToGlobalIndexMap > const _source_term_dof_table
Definition
SourceTerm.h:35
ProcessLib
Definition
ProjectData.h:51
ProcessLib
BoundaryConditionAndSourceTerm
SourceTerm.h
Generated by
1.12.0