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:
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 {
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
#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::vector< std::string > > initializeAssemblyOnSubmeshes(std::vector< std::reference_wrapper< MeshLib::Mesh > > const &meshes)