OGS
SourceTermConfig.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include "
BaseLib/ConfigTree.h
"
7
#include "
MeshLib/Mesh.h
"
8
9
namespace
ProcessLib
10
{
11
struct
SourceTermConfig
final
12
{
13
SourceTermConfig
(
BaseLib::ConfigTree
&& config_,
14
MeshLib::Mesh
const
& mesh_,
15
int
component_id_)
16
:
config
(std::move(config_)),
mesh
(mesh_),
component_id
(component_id_)
17
{
18
}
19
20
SourceTermConfig
(
SourceTermConfig
&& other)
21
:
config
(std::move(other.
config
)),
22
mesh
(other.
mesh
),
23
component_id
(other.
component_id
)
24
{
25
}
26
27
BaseLib::ConfigTree
config
;
28
MeshLib::Mesh
const
&
mesh
;
29
int
component_id
;
30
};
31
32
}
// namespace ProcessLib
ConfigTree.h
Mesh.h
BaseLib::ConfigTree
Definition
ConfigTree.h:101
MeshLib::Mesh
Definition
Mesh.h:34
ProcessLib
Definition
ProjectData.h:40
ProcessLib::SourceTermConfig::component_id
int component_id
Definition
SourceTermConfig.h:29
ProcessLib::SourceTermConfig::config
BaseLib::ConfigTree config
Definition
SourceTermConfig.h:27
ProcessLib::SourceTermConfig::mesh
MeshLib::Mesh const & mesh
Definition
SourceTermConfig.h:28
ProcessLib::SourceTermConfig::SourceTermConfig
SourceTermConfig(SourceTermConfig &&other)
Definition
SourceTermConfig.h:20
ProcessLib::SourceTermConfig::SourceTermConfig
SourceTermConfig(BaseLib::ConfigTree &&config_, MeshLib::Mesh const &mesh_, int component_id_)
Definition
SourceTermConfig.h:13
ProcessLib
BoundaryConditionAndSourceTerm
SourceTermConfig.h
Generated by
1.14.0