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

Detailed Description

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

Definition at line 38 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, int GlobalDim, typename... ConstructorArgs>
template<typename ElementTraits >
constexpr bool ProcessLib::LocalAssemblerFactoryForDimGreaterEqualN< MinElementDim, LocalAssemblerInterface, LocalAssemblerImplementation, GlobalDim, ConstructorArgs >::IsElementEnabled::operator() ( ElementTraits *  ) const
inlineconstexpr

Definition at line 41 of file LocalAssemblerFactoryForDimGreaterEqualN.h.

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

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