7#ifndef GRIDCELLPROPERTIES_H_
8#define GRIDCELLPROPERTIES_H_
36constexpr std::underlying_type<GridCell>::type
p(
const GridCell property) {
37 return static_cast<std::underlying_type<GridCell>::type
>(property);
GridCell
Grid cell Property Labels.
@ IsPartLvlAncestor
cell is ancestor of partition level
@ WasCoarsened
cell was recently coarsened
@ IsPartitionCell
cell is a partition cell
@ WasNewlyCreated
cell was recently created
@ WasRefined
cell was recently refined
constexpr std::underlying_type< GridCell >::type p(const GridCell property)
Converts property name to underlying integer value.
std::bitset< p(GridCell::NumProperties)> BitsetType
Namespace for auxiliary functions/classes.