OGS
ProcessLib::SubmeshAssemblySupport Class Reference

Detailed Description

Definition at line 18 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::ComponentTransport::ComponentTransportProcess, ProcessLib::HeatConduction::HeatConductionProcess, ProcessLib::HeatTransportBHE::HeatTransportBHEProcess, ProcessLib::HydroMechanics::HydroMechanicsProcess< DisplacementDim >, ProcessLib::RichardsMechanics::RichardsMechanicsProcess< DisplacementDim >, ProcessLib::SmallDeformation::SmallDeformationProcess< DisplacementDim >, ProcessLib::TH2M::TH2MProcess< DisplacementDim >, ProcessLib::ThermoHydroMechanics::ThermoHydroMechanicsProcess< DisplacementDim >, ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowProcess, and ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsProcess< DisplacementDim, ConstitutiveTraits >.

Definition at line 31 of file SubmeshAssemblySupport.h.

33 {
34 DBUG(
35 "Default implementation of initializeSubmeshAssembly(). Doing "
36 "nothing.");
37
38 if (!meshes.empty())
39 {
41 "Submesh residuum assembly is not implemented for this "
42 "process. You can avoid this error message, e.g., by removing "
43 "<submesh_residuum_output> from the prj file.");
44 }
45
46 return {};
47 }
#define OGS_FATAL(...)
Definition Error.h:19
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:22

References DBUG(), and OGS_FATAL.


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