OGS
ProcessLib::BoundaryConditionAndSourceTerm::LocalAssemblerFactory< LocalAssemblerInterface, LocalAssemblerImplementation, GlobalDim, ConstructorArgs >::Is2ndOrderElementOfSuitableDimension Struct Reference

Detailed Description

template<typename LocalAssemblerInterface, template< typename, int > class LocalAssemblerImplementation, int GlobalDim, typename... ConstructorArgs>
struct ProcessLib::BoundaryConditionAndSourceTerm::LocalAssemblerFactory< LocalAssemblerInterface, LocalAssemblerImplementation, GlobalDim, ConstructorArgs >::Is2ndOrderElementOfSuitableDimension

Definition at line 55 of file LocalAssemblerFactory.h.

Public Member Functions

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

Member Function Documentation

◆ operator()()

template<typename LocalAssemblerInterface , template< typename, int > class LocalAssemblerImplementation, int GlobalDim, typename... ConstructorArgs>
template<typename ElementTraits >
bool ProcessLib::BoundaryConditionAndSourceTerm::LocalAssemblerFactory< LocalAssemblerInterface, LocalAssemblerImplementation, GlobalDim, ConstructorArgs >::Is2ndOrderElementOfSuitableDimension::operator() ( ElementTraits * ) const
inlineconstexpr

Definition at line 58 of file LocalAssemblerFactory.h.

59 {
60 if constexpr (GlobalDim < ElementTraits::ShapeFunction::DIM)
61 {
62 return false;
63 }
64 return ElementTraits::ShapeFunction::ORDER == 2 ||
65 // points are needed for 2nd order, too
66 std::is_same_v<MeshLib::Point,
67 typename ElementTraits::Element>;
68 }
TemplateElement< PointRule1 > Point
Definition Point.h:20

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