![]() |
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 24 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 26 of file SolverByElementTypeRegistry.h.
|
inlinestatic |
Definition at line 56 of file SolverByElementTypeRegistry.h.
|
inlinestaticprivate |
Definition at line 28 of file SolverByElementTypeRegistry.h.
References BaseLib::TMP::filter(), and BaseLib::TMP::foreach().
|
staticprivate |
Definition at line 53 of file SolverByElementTypeRegistry.h.
Referenced by getFor().