OGS
ProcessLib::LIE::SmallDeformation::detail Namespace Reference

Functions

template<int GlobalDim, template< typename, int > class LocalAssemblerMatrixImplementation, template< typename, int > class LocalAssemblerMatrixNearFractureImplementation, template< typename, int > class LocalAssemblerFractureImplementation, typename LocalAssemblerInterface , typename... ExtraCtorArgs>
void createLocalAssemblers (NumLib::LocalToGlobalIndexMap const &dof_table, std::vector< MeshLib::Element * > const &mesh_elements, std::vector< std::unique_ptr< LocalAssemblerInterface > > &local_assemblers, NumLib::IntegrationOrder const integration_order, ExtraCtorArgs &&... extra_ctor_args)
 

Function Documentation

◆ createLocalAssemblers()

template<int GlobalDim, template< typename, int > class LocalAssemblerMatrixImplementation, template< typename, int > class LocalAssemblerMatrixNearFractureImplementation, template< typename, int > class LocalAssemblerFractureImplementation, typename LocalAssemblerInterface , typename... ExtraCtorArgs>
void ProcessLib::LIE::SmallDeformation::detail::createLocalAssemblers ( NumLib::LocalToGlobalIndexMap const & dof_table,
std::vector< MeshLib::Element * > const & mesh_elements,
std::vector< std::unique_ptr< LocalAssemblerInterface > > & local_assemblers,
NumLib::IntegrationOrder const integration_order,
ExtraCtorArgs &&... extra_ctor_args )

Definition at line 32 of file CreateLocalAssemblers.h.

38{
39 // Shape matrices initializer
41 LocalAssemblerInterface, LocalAssemblerMatrixImplementation,
42 LocalAssemblerMatrixNearFractureImplementation,
43 LocalAssemblerFractureImplementation, GlobalDim, ExtraCtorArgs...>;
44
45 DBUG("Create local assemblers.");
46 // Populate the vector of local assemblers.
47 local_assemblers.resize(mesh_elements.size());
48
49 LocalDataInitializer initializer(dof_table, integration_order);
50
51 DBUG("Calling local assembler builder for all mesh elements.");
53 initializer, mesh_elements, local_assemblers,
54 std::forward<ExtraCtorArgs>(extra_ctor_args)...);
55}
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30
static void transformDereferenced(F const &f, C const &c, Data &data, Args_ &&... args)

References DBUG(), and NumLib::SerialExecutor::transformDereferenced().

Referenced by ProcessLib::LIE::SmallDeformation::createLocalAssemblers().