OGS
ProcessLib::LocalAssemblerFactoryForDimGreaterEqualN< MinElementDim, LocalAssemblerInterface, LocalAssemblerImplementation, IntegrationMethodProvider, GlobalDim, ConstructorArgs >::IsElementEnabled Struct Reference

Detailed Description

template<int MinElementDim, typename LocalAssemblerInterface, template< typename, int > class LocalAssemblerImplementation, NumLib::IntegrationMethodProvider IntegrationMethodProvider, int GlobalDim, typename... ConstructorArgs>
struct ProcessLib::LocalAssemblerFactoryForDimGreaterEqualN< MinElementDim, LocalAssemblerInterface, LocalAssemblerImplementation, IntegrationMethodProvider, GlobalDim, ConstructorArgs >::IsElementEnabled

Definition at line 41 of file LocalAssemblerFactoryForDimGreaterEqualN.h.

Public Member Functions

template<typename ElementTraits >
constexpr bool operator() (ElementTraits *) const
 

Member Function Documentation

◆ operator()()

template<int MinElementDim, typename LocalAssemblerInterface , template< typename, int > class LocalAssemblerImplementation, NumLib::IntegrationMethodProvider IntegrationMethodProvider, int GlobalDim, typename... ConstructorArgs>
template<typename ElementTraits >
bool ProcessLib::LocalAssemblerFactoryForDimGreaterEqualN< MinElementDim, LocalAssemblerInterface, LocalAssemblerImplementation, IntegrationMethodProvider, GlobalDim, ConstructorArgs >::IsElementEnabled::operator() ( ElementTraits * ) const
inlineconstexpr

Definition at line 44 of file LocalAssemblerFactoryForDimGreaterEqualN.h.

45 {
46 if constexpr (GlobalDim < ElementTraits::ShapeFunction::DIM)
47 {
48 return false;
49 }
50
51 return ElementTraits::Element::dimension >= MinElementDim;
52 }

The documentation for this struct was generated from the following file: