OGS
ProcessLib::HeatTransportBHE::detail Namespace Reference

Functions

template<template< typename > class LocalAssemblerSoilImplementation, template< typename, typename > class LocalAssemblerBHEImplementation, 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, std::unordered_map< std::size_t, BHE::BHETypes * > const &element_to_bhe_map, ExtraCtorArgs &&... extra_ctor_args)
 

Function Documentation

◆ createLocalAssemblers()

template<template< typename > class LocalAssemblerSoilImplementation, template< typename, typename > class LocalAssemblerBHEImplementation, typename LocalAssemblerInterface , typename... ExtraCtorArgs>
void ProcessLib::HeatTransportBHE::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,
std::unordered_map< std::size_t, BHE::BHETypes * > const & element_to_bhe_map,
ExtraCtorArgs &&... extra_ctor_args )

Definition at line 31 of file CreateLocalAssemblers.h.

38{
39 // Shape matrices initializer
42 LocalAssemblerSoilImplementation,
43 LocalAssemblerBHEImplementation, ExtraCtorArgs...>;
44
45 DBUG("Create local assemblers for the HeatTransportBHE process.");
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, element_to_bhe_map,
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().