|
dune-pdelab 2.8
|
Loading...
Searching...
No Matches
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
List of all members
Dune::PDELab::MultiIndex< T, n > Class Template Reference
A class for representing multi-indices. More...
#include <dune/pdelab/common/multiindex.hh>
Inheritance diagram for Dune::PDELab::MultiIndex< T, n >:

Classes | |
| class | View |
Public Types | |
| typedef T | value_type |
| typedef T | value_type |
| typedef T * | pointer |
| typedef T * | pointer |
| typedef T & | reference |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef const T & | const_reference |
| typedef size_t | size_type |
| typedef size_t | size_type |
| typedef std::ptrdiff_t | difference_type |
| typedef std::ptrdiff_t | difference_type |
| typedef Dune::GenericIterator< ReservedVector, value_type > | iterator |
| typedef Dune::GenericIterator< ReservedVector, value_type > | iterator |
| typedef Dune::GenericIterator< const ReservedVector, const value_type > | const_iterator |
| typedef Dune::GenericIterator< const ReservedVector, const value_type > | const_iterator |
Static Public Member Functions | |
| static constexpr size_type | capacity () |
| static constexpr size_type | max_size () |
Static Public Attributes | |
| static const std::size_t | max_depth = n |
| The maximum possible depth of the MultiIndex. | |
Detailed Description
template<typename T, std::size_t n>
class Dune::PDELab::MultiIndex< T, n >
class Dune::PDELab::MultiIndex< T, n >
A class for representing multi-indices.
A MultiIndex represents an ordered tuple of indices.
- Template Parameters
-
T the type of the index entries. n the maximum number of indices in the MultiIndex.
Constructor & Destructor Documentation
◆ MultiIndex() [1/2]
template<typename T , std::size_t n>
|
inline |
◆ MultiIndex() [2/2]
template<typename T , std::size_t n>
|
inline |
Member Function Documentation
◆ operator!=()
template<typename T , std::size_t n>
|
inline |
Tests whether two MultiIndices are not equal.
◆ operator==()
template<typename T , std::size_t n>
|
inline |
Tests whether two MultiIndices are equal.
- Note
- Only MultiIndices of identical max_depth are comparable.
◆ pop_front()
template<typename T , std::size_t n>
|
inline |
Erases the first element of the multi-index, O(N) time.
◆ set()
template<typename T , std::size_t n>
|
inline |
◆ view() [1/2]
template<typename T , std::size_t n>
|
inline |
◆ view() [2/2]
template<typename T , std::size_t n>
|
inline |
Member Data Documentation
◆ max_depth
template<typename T , std::size_t n>
|
static |
The maximum possible depth of the MultiIndex.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8