OGS
SourceTermConfig.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "BaseLib/ConfigTree.h"
14 #include "MeshLib/Mesh.h"
15 
16 namespace ProcessLib
17 {
18 struct SourceTermConfig final
19 {
21  MeshLib::Mesh const& mesh_,
22  std::optional<int> const component_id_)
23  : config(std::move(config_)), mesh(mesh_), component_id(component_id_)
24  {
25  }
26 
28  : config(std::move(other.config)),
29  mesh(other.mesh),
31  {
32  }
33 
36  std::optional<int> const component_id;
37 };
38 
39 } // namespace ProcessLib
Definition of the Mesh class.
SourceTermConfig(BaseLib::ConfigTree &&config_, MeshLib::Mesh const &mesh_, std::optional< int > const component_id_)
BaseLib::ConfigTree config
MeshLib::Mesh const & mesh
SourceTermConfig(SourceTermConfig &&other)
std::optional< int > const component_id