OGS
SubmeshAssemblySupport.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 <string>
7
#include <vector>
8
9
#include "
BaseLib/Error.h
"
10
11
namespace
MeshLib
12
{
13
class
Mesh
;
14
}
15
16
namespace
ProcessLib
17
{
18
class
SubmeshAssemblySupport
19
{
20
public
:
31
virtual
std::vector<std::vector<std::string>>
initializeAssemblyOnSubmeshes
(
32
std::vector<std::reference_wrapper<MeshLib::Mesh>>
const
& meshes)
33
{
34
DBUG
(
35
"Default implementation of initializeSubmeshAssembly(). Doing "
36
"nothing."
);
37
38
if
(!meshes.empty())
39
{
40
OGS_FATAL
(
41
"Submesh residuum assembly is not implemented for this "
42
"process. You can avoid this error message, e.g., by removing "
43
"<submesh_residuum_output> from the prj file."
);
44
}
45
46
return
{};
47
}
48
49
virtual
~SubmeshAssemblySupport
() =
default
;
50
};
51
}
// namespace ProcessLib
Error.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:19
DBUG
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:22
MeshLib::Mesh
Definition
Mesh.h:34
ProcessLib::SubmeshAssemblySupport
Definition
SubmeshAssemblySupport.h:19
ProcessLib::SubmeshAssemblySupport::~SubmeshAssemblySupport
virtual ~SubmeshAssemblySupport()=default
ProcessLib::SubmeshAssemblySupport::initializeAssemblyOnSubmeshes
virtual std::vector< std::vector< std::string > > initializeAssemblyOnSubmeshes(std::vector< std::reference_wrapper< MeshLib::Mesh > > const &meshes)
Definition
SubmeshAssemblySupport.h:31
MeshLib
Definition
ProjectData.h:30
ProcessLib
Definition
ProjectData.h:40
ProcessLib
SubmeshAssemblySupport.h
Generated by
1.14.0