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

Detailed Description

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

Definition at line 115 of file LocalAssemblerFactoryTaylorHood.h.

Public Member Functions

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

Member Function Documentation

◆ operator()()

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

Definition at line 118 of file LocalAssemblerFactoryTaylorHood.h.

119 {
120 if constexpr (GlobalDim < ElementTraits::ShapeFunction::DIM)
121 {
122 return false;
123 }
124
125 if constexpr (ElementTraits::Element::dimension < MinElementDim)
126 {
127 return false;
128 }
129
130 return ElementTraits::ShapeFunction::ORDER >= MinShapeFctOrder;
131 }

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