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 120 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 >
bool ProcessLib::LocalAssemblerFactoryTaylorHood< MinShapeFctOrder, MinElementDim, LocalAssemblerInterface, LocalAssemblerImplementation, IntegrationMethodProvider, GlobalDim, ConstructorArgs >::IsElementEnabled::operator() ( ElementTraits * ) const
inlineconstexpr

Definition at line 123 of file LocalAssemblerFactoryTaylorHood.h.

124 {
125 if constexpr (GlobalDim < ElementTraits::ShapeFunction::DIM)
126 {
127 return false;
128 }
129
130 if constexpr (ElementTraits::Element::dimension < MinElementDim)
131 {
132 return false;
133 }
134
135 return ElementTraits::ShapeFunction::ORDER >= MinShapeFctOrder;
136 }

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