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
:
36
virtual
std::vector<std::string>
initializeAssemblyOnSubmeshes
(
37
std::vector<std::reference_wrapper<MeshLib::Mesh>>
const
& meshes)
38
{
39
DBUG
(
40
"Default implementation of initializeSubmeshAssembly(). Doing "
41
"nothing."
);
42
43
if
(!meshes.empty())
44
{
45
OGS_FATAL
(
46
"Submesh residuum assembly is not implemented for this "
47
"process. You can avoid this error message, e.g., by removing "
48
"<submesh_residuum_output> from the prj file."
);
49
}
50
51
return
{};
52
}
53
54
virtual
~SubmeshAssemblySupport
() =
default
;
55
};
56
}
// 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::string > initializeAssemblyOnSubmeshes(std::vector< std::reference_wrapper< MeshLib::Mesh > > const &meshes)
Definition
SubmeshAssemblySupport.h:36
MeshLib
Definition
ProjectData.h:41
ProcessLib
Definition
ProjectData.h:51
ProcessLib
SubmeshAssemblySupport.h
Generated by
1.10.0