dune-grid 2.9.0
Public Member Functions | Public Attributes | List of all members
Dune::FactoryUtilities::MultiIndex< dim > Class Template Reference

#include <dune/grid/utility/multiindex.hh>

Inheritance diagram for Dune::FactoryUtilities::MultiIndex< dim >:
Inheritance graph

Public Member Functions

 MultiIndex (const std::array< unsigned int, dim > &limits)
 Constructor with a given range for each digit. More...
 
MultiIndex< dim > & operator++ ()
 Increment the MultiIndex. More...
 
size_t cycle () const
 Compute how many times you can call operator++ before getting to (0,...,0) again. More...
 

Public Attributes

elements
 STL member. More...
 

Constructor & Destructor Documentation

◆ MultiIndex()

template<std::size_t dim>
Dune::FactoryUtilities::MultiIndex< dim >::MultiIndex ( const std::array< unsigned int, dim > &  limits)
inline

Constructor with a given range for each digit.

Member Function Documentation

◆ cycle()

template<std::size_t dim>
size_t Dune::FactoryUtilities::MultiIndex< dim >::cycle ( ) const
inline

Compute how many times you can call operator++ before getting to (0,...,0) again.

◆ operator++()

template<std::size_t dim>
MultiIndex< dim > & Dune::FactoryUtilities::MultiIndex< dim >::operator++ ( )
inline

Increment the MultiIndex.

Member Data Documentation

◆ elements

T std::array< T >::elements
inherited

STL member.


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