![]() |
OGS
|
Instantiates a given solver interface for all mesh element types (of dimension >= 1) and provides the correct solver implementation for a given mesh element.
Definition at line 30 of file SolverByElementTypeRegistry.h.
#include <SolverByElementTypeRegistry.h>
Static Public Member Functions | |
static SolverInterface const & | getFor (MeshLib::Element const &e) |
Private Types | |
using | SolverIntfPtr = std::unique_ptr<SolverInterface> |
Static Private Member Functions | |
static std::unordered_map< std::type_index, SolverIntfPtr > | initSolvers () |
Static Private Attributes | |
static const std::unordered_map< std::type_index, SolverIntfPtr > | solvers_ |
|
private |
Definition at line 32 of file SolverByElementTypeRegistry.h.
|
inlinestatic |
Definition at line 62 of file SolverByElementTypeRegistry.h.
References OGS_FATAL, and ApplicationUtils::SolverByElementTypeRegistry< SolverInterface, SolverImplementationTplTpl >::solvers_.
|
inlinestaticprivate |
Definition at line 34 of file SolverByElementTypeRegistry.h.
References BaseLib::TMP::filter(), and BaseLib::TMP::foreach().
|
staticprivate |
Definition at line 59 of file SolverByElementTypeRegistry.h.
Referenced by ApplicationUtils::SolverByElementTypeRegistry< SolverInterface, SolverImplementationTplTpl >::getFor().