MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
maia::ls::cell Namespace Reference

Typedefs

using BitsetType = std::bitset< p(LsCell::NumProperties)>
 
using BitsetTypeSet = std::bitset< setP(LsSet::NumSetProperties)>
 

Functions

constexpr std::underlying_type< LsCell >::type p (const LsCell property)
 Converts property name to underlying integer value. More...
 
constexpr std::underlying_type< LsSet >::type setP (const LsSet property)
 Converts property name to underlying integer value. More...
 

Typedef Documentation

◆ BitsetType

using maia::ls::cell::BitsetType = typedef std::bitset<p(LsCell::NumProperties)>

Definition at line 30 of file lscartesiancellproperties.h.

◆ BitsetTypeSet

using maia::ls::cell::BitsetTypeSet = typedef std::bitset<setP(LsSet::NumSetProperties)>

Definition at line 38 of file lscartesiancellproperties.h.

Function Documentation

◆ p()

constexpr std::underlying_type< LsCell >::type maia::ls::cell::p ( const LsCell  property)
constexpr

Definition at line 26 of file lscartesiancellproperties.h.

26 {
27 return static_cast<std::underlying_type<LsCell>::type>(property);
28}

◆ setP()

constexpr std::underlying_type< LsSet >::type maia::ls::cell::setP ( const LsSet  property)
constexpr

Definition at line 34 of file lscartesiancellproperties.h.

34 {
35 return static_cast<std::underlying_type<LsSet>::type>(property);
36}