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
7#include "MeshLib/Mesh.h"
8
9namespace ProcessLib
10{
11struct SourceTermConfig final
12{
14 MeshLib::Mesh const& mesh_,
15 int component_id_)
16 : config(std::move(config_)), mesh(mesh_), component_id(component_id_)
17 {
18 }
19
21 : config(std::move(other.config)),
22 mesh(other.mesh),
24 {
25 }
26
30};
31
32} // namespace ProcessLib
MeshLib::Mesh const & mesh
SourceTermConfig(SourceTermConfig &&other)
SourceTermConfig(BaseLib::ConfigTree &&config_, MeshLib::Mesh const &mesh_, int component_id_)