OGS
SubmeshAssemblySupport.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <string>
14
#include <vector>
15
16
#include "
BaseLib/Error.h
"
17
18
namespace
MeshLib
19
{
20
class
Mesh;
21
}
22
23
namespace
ProcessLib
24
{
25
class
SubmeshAssemblySupport
26
{
27
public
:
38
virtual
std::vector<std::vector<std::string>>
initializeAssemblyOnSubmeshes
(
39
std::vector<std::reference_wrapper<MeshLib::Mesh>>
const
& meshes)
40
{
41
DBUG
(
42
"Default implementation of initializeSubmeshAssembly(). Doing "
43
"nothing."
);
44
45
if
(!meshes.empty())
46
{
47
OGS_FATAL
(
48
"Submesh residuum assembly is not implemented for this "
49
"process. You can avoid this error message, e.g., by removing "
50
"<submesh_residuum_output> from the prj file."
);
51
}
52
53
return
{};
54
}
55
56
virtual
~SubmeshAssemblySupport
() =
default
;
57
};
58
}
// namespace ProcessLib
Error.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
DBUG
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:30
ProcessLib::SubmeshAssemblySupport
Definition
SubmeshAssemblySupport.h:26
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:38
MeshLib
Definition
ProjectData.h:41
ProcessLib
Definition
ProjectData.h:51
ProcessLib
SubmeshAssemblySupport.h
Generated by
1.11.0