OGS
ProcessLib::LIE::HydroMechanics::detail Namespace Reference

Functions

template<int GlobalDim, template< typename, typename, int > class LocalAssemblerMatrixImplementation, template< typename, typename, int > class LocalAssemblerMatrixNearFractureImplementation, template< typename, 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, typename, int > class LocalAssemblerMatrixImplementation, template< typename, typename, int > class LocalAssemblerMatrixNearFractureImplementation, template< typename, typename, int > class LocalAssemblerFractureImplementation, typename LocalAssemblerInterface , typename... ExtraCtorArgs>
void ProcessLib::LIE::HydroMechanics::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 34 of file CreateLocalAssemblers.h.

40{
41 // Shape matrices initializer
43 LocalAssemblerInterface, LocalAssemblerMatrixImplementation,
44 LocalAssemblerMatrixNearFractureImplementation,
45 LocalAssemblerFractureImplementation, GlobalDim, ExtraCtorArgs...>;
46
47 DBUG("Create local assemblers for HydroMechanics with LIE.");
48 // Populate the vector of local assemblers.
49 local_assemblers.resize(mesh_elements.size());
50
51 LocalDataInitializer initializer(dof_table, integration_order);
52
53 DBUG("Calling local assembler builder for all mesh elements.");
55 initializer, mesh_elements, local_assemblers,
56 std::forward<ExtraCtorArgs>(extra_ctor_args)...);
57}
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::HydroMechanics::createLocalAssemblers().