FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Geometry::SubdivisionLevelTuple< size_ > Struct Template Reference

Tuple-type for SubdivisionLevels. More...

#include <subdivision_levels.hpp>

Public Member Functions

SubdivisionLevelTuple< sizedecrement () const
 Decrement levels. More...
 
Indexoperator[] (Index idx)
 access operator More...
 
const Indexoperator[] (Index idx) const
 access operator More...
 

Public Attributes

std::array< std::uint64_t, size_ > levels
 Tuple values. More...
 

Static Public Attributes

static constexpr int size = size_
 Tuple size. More...
 

Detailed Description

template<int size_>
struct FEAT::Geometry::SubdivisionLevelTuple< size_ >

Tuple-type for SubdivisionLevels.

Represents subdivision levels for a single mesh entity.

Author
Markus Muegge

Definition at line 27 of file subdivision_levels.hpp.

Member Function Documentation

◆ decrement()

template<int size_>
SubdivisionLevelTuple< size > FEAT::Geometry::SubdivisionLevelTuple< size_ >::decrement ( ) const
inline

Decrement levels.

Returns
A new tuple where each level has been decremented by one, to a minimum of zero

Definition at line 56 of file subdivision_levels.hpp.

References FEAT::Geometry::SubdivisionLevelTuple< size_ >::levels, and FEAT::Geometry::SubdivisionLevelTuple< size_ >::size.

◆ operator[]() [1/2]

template<int size_>
Index & FEAT::Geometry::SubdivisionLevelTuple< size_ >::operator[] ( Index  idx)
inline

◆ operator[]() [2/2]

template<int size_>
const Index & FEAT::Geometry::SubdivisionLevelTuple< size_ >::operator[] ( Index  idx) const
inline

Member Data Documentation

◆ levels

template<int size_>
std::array<std::uint64_t, size_> FEAT::Geometry::SubdivisionLevelTuple< size_ >::levels

◆ size

template<int size_>
constexpr int FEAT::Geometry::SubdivisionLevelTuple< size_ >::size = size_
staticconstexpr

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