OGS
ProcessLib::LIE::HydroMechanics::LocalDataInitializer< LocalAssemblerInterface, LocalAssemblerDataMatrix, LocalAssemblerDataMatrixNearFracture, LocalAssemblerDataFracture, GlobalDim, ConstructorArgs >::IsElementEnabled Struct Reference

Detailed Description

template<typename LocalAssemblerInterface, template< typename, typename, int > class LocalAssemblerDataMatrix, template< typename, typename, int > class LocalAssemblerDataMatrixNearFracture, template< typename, typename, int > class LocalAssemblerDataFracture, int GlobalDim, typename... ConstructorArgs>
struct ProcessLib::LIE::HydroMechanics::LocalDataInitializer< LocalAssemblerInterface, LocalAssemblerDataMatrix, LocalAssemblerDataMatrixNearFracture, LocalAssemblerDataFracture, GlobalDim, ConstructorArgs >::IsElementEnabled

Definition at line 53 of file LocalDataInitializer.h.

Public Member Functions

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

Member Function Documentation

◆ operator()()

template<typename LocalAssemblerInterface , template< typename, typename, int > class LocalAssemblerDataMatrix, template< typename, typename, int > class LocalAssemblerDataMatrixNearFracture, template< typename, typename, int > class LocalAssemblerDataFracture, int GlobalDim, typename... ConstructorArgs>
template<typename ElementTraits >
bool ProcessLib::LIE::HydroMechanics::LocalDataInitializer< LocalAssemblerInterface, LocalAssemblerDataMatrix, LocalAssemblerDataMatrixNearFracture, LocalAssemblerDataFracture, GlobalDim, ConstructorArgs >::IsElementEnabled::operator() ( ElementTraits * ) const
inlineconstexpr

Definition at line 56 of file LocalDataInitializer.h.

57 {
58 if constexpr (GlobalDim < ElementTraits::ShapeFunction::DIM)
59 {
60 return false;
61 }
62
63 // exclude 0D elements
64 return ElementTraits::Element::dimension >= 1 &&
65 ElementTraits::ShapeFunction::ORDER >= 1;
66 }

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