Dune Core Modules (2.7.1)

Dune::IndexStack< T, length > Class Template Reference

#include <dune/grid/albertagrid/indexstack.hh>

Public Member Functions

 IndexStack ()
 Constructor, create new IndexStack.
 
 ~IndexStack ()
 Destructor, deleting all stacks.
 
void checkAndSetMax (T index)
 set index as maxIndex if index is bigger than maxIndex
 
void setMaxIndex (T index)
 set index as maxIndex
 
int getMaxIndex () const
 return maxIndex which is also the
 
int size () const
 return maxIndex which is also the
 
getIndex ()
 restore index from stack or create new index
 
void freeIndex (T index)
 store index on stack
 
void test ()
 test stack functionality
 

Detailed Description

template<class T, int length>
class Dune::IndexStack< T, length >

IndexStack providing indices via getIndex and freeIndex indices that are freed, are put on a stack and get


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)