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
18namespace MeshLib
19{
20class Mesh;
21}
22
23namespace ProcessLib
24{
26{
27public:
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 {
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
#define OGS_FATAL(...)
Definition Error.h:26
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30
virtual ~SubmeshAssemblySupport()=default
virtual std::vector< std::string > initializeAssemblyOnSubmeshes(std::vector< std::reference_wrapper< MeshLib::Mesh > > const &meshes)