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

Detailed Description

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

Definition at line 44 of file LocalDataInitializer.h.

Public Member Functions

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

Member Function Documentation

◆ operator()()

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

Definition at line 47 of file LocalDataInitializer.h.

48 {
49 if constexpr (GlobalDim < ElementTraits::ShapeFunction::DIM)
50 {
51 return false;
52 }
53
54 // exclude 0D elements
55 return ElementTraits::Element::dimension >= 1;
56 }

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