OGS
ProcessLib::SubmeshAssemblySupport Class Reference

Detailed Description

Definition at line 25 of file SubmeshAssemblySupport.h.

#include <SubmeshAssemblySupport.h>

Inheritance diagram for ProcessLib::SubmeshAssemblySupport:
[legend]

Public Member Functions

virtual std::vector< std::vector< std::string > > initializeAssemblyOnSubmeshes (std::vector< std::reference_wrapper< MeshLib::Mesh > > const &meshes)
 
virtual ~SubmeshAssemblySupport ()=default
 

Constructor & Destructor Documentation

◆ ~SubmeshAssemblySupport()

virtual ProcessLib::SubmeshAssemblySupport::~SubmeshAssemblySupport ( )
virtualdefault

Member Function Documentation

◆ initializeAssemblyOnSubmeshes()

virtual std::vector< std::vector< std::string > > ProcessLib::SubmeshAssemblySupport::initializeAssemblyOnSubmeshes ( std::vector< std::reference_wrapper< MeshLib::Mesh > > const & meshes)
inlinevirtual

Initializes the assembly on submeshes

Parameters
meshesthe submeshes on whom the assembly shall proceed.
Attention
meshes must be a must be a non-overlapping cover of the entire simulation domain (bulk mesh)!
Returns
The names of the residuum vectors that will be assembled for each process: outer vector of size 1 for monolithic schemes and greater for staggered schemes.

Reimplemented in ProcessLib::HydroMechanics::HydroMechanicsProcess< DisplacementDim >, ProcessLib::TH2M::TH2MProcess< DisplacementDim >, and ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsProcess< DisplacementDim, ConstitutiveTraits >.

Definition at line 38 of file SubmeshAssemblySupport.h.

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 }
#define OGS_FATAL(...)
Definition Error.h:26
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30

References DBUG(), and OGS_FATAL.


The documentation for this class was generated from the following file: