OGS
|
A functor creating a local assembler with shape functions corresponding to the mesh element type.
Definition at line 39 of file GenericLocalAssemblerFactory.h.
#include <GenericLocalAssemblerFactory.h>
Public Types | |
using | LocAsmIntfPtr = std::unique_ptr<LocalAssemblerInterface> |
using | LocAsmBuilder |
Public Member Functions | |
LocAsmIntfPtr | operator() (std::size_t const id, MeshLib::Element const &mesh_item, ConstructorArgs &&... args) const |
Protected Member Functions | |
GenericLocalAssemblerFactory (NumLib::LocalToGlobalIndexMap const &dof_table, IntegrationMethodProvider const &integration_method_provider) | |
Protected Attributes | |
std::unordered_map< std::type_index, LocAsmBuilder > | _builders |
Mapping of element types to local assembler builders. | |
Private Attributes | |
NumLib::LocalToGlobalIndexMap const & | _dof_table |
IntegrationMethodProvider const & | _integration_method_provider |
using ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::LocAsmBuilder |
Definition at line 42 of file GenericLocalAssemblerFactory.h.
using ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::LocAsmIntfPtr = std::unique_ptr<LocalAssemblerInterface> |
Definition at line 41 of file GenericLocalAssemblerFactory.h.
|
inlineexplicitprotected |
Definition at line 49 of file GenericLocalAssemblerFactory.h.
|
inline |
Returns the newly created local assembler.
id
is not necessarily the mesh item's id. Especially when having multiple meshes it will differ from the latter. Definition at line 63 of file GenericLocalAssemblerFactory.h.
References ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::_builders, ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::_dof_table, ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::_integration_method_provider, NumLib::LocalToGlobalIndexMap::getNumberOfElementDOF(), and OGS_FATAL.
|
protected |
Mapping of element types to local assembler builders.
Definition at line 92 of file GenericLocalAssemblerFactory.h.
Referenced by ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::operator()().
|
private |
Definition at line 87 of file GenericLocalAssemblerFactory.h.
Referenced by ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::operator()().
|
private |
Definition at line 88 of file GenericLocalAssemblerFactory.h.
Referenced by ProcessLib::GenericLocalAssemblerFactory< LocalAssemblerInterface, IntegrationMethodProvider, ConstructorArgs >::operator()().