SpECTRE  v2024.09.29
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
HypercubeElementsIterator< ElementDim, HypercubeDim > Struct Template Reference

Iterator over all ElementDim-dimensional elements on the boundary of a HypercubeDim-dimensional hypercube. More...

#include <Hypercube.hpp>

Public Member Functions

HypercubeElementsIteratoroperator++ ()
 
HypercubeElementsIterator operator++ (int)
 
HypercubeElement< ElementDim, HypercubeDim > operator* () const
 

Static Public Member Functions

static constexpr size_t size ()
 The number of ElementDim-dimensional elements on the boundary of a HypercubeDim-dimensional hypercube.
 
static HypercubeElementsIterator begin ()
 
static HypercubeElementsIterator end ()
 

Static Public Attributes

static constexpr size_t num_indices = HypercubeDim - ElementDim
 

Friends

template<size_t LocalElementDim, size_t LocalHypercubeDim>
bool operator== (const HypercubeElementsIterator< LocalElementDim, LocalHypercubeDim > &lhs, const HypercubeElementsIterator< LocalElementDim, LocalHypercubeDim > &rhs)
 

Detailed Description

template<size_t ElementDim, size_t HypercubeDim>
struct HypercubeElementsIterator< ElementDim, HypercubeDim >

Iterator over all ElementDim-dimensional elements on the boundary of a HypercubeDim-dimensional hypercube.

See also
HypercubeElement

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