Dune::LocalIndex Class Reference
[ISTL Communication]
#include <localindex.hh>
Detailed Description
An index present on the local process.Public Member Functions | |
LocalIndex () | |
Constructor. known to other processes. | |
LocalIndex (std::ptrdiff_t index) | |
Constructor. | |
const std::ptrdiff_t & | local () const |
get the local index. | |
operator std::ptrdiff_t () const | |
Convert to the local index represented by an int. | |
LocalIndex & | operator= (std::ptrdiff_t index) |
Assign a new local index. | |
LocalIndexState | state () const |
Get the state. | |
void | setState (LocalIndexState state) |
Set the state. |
Constructor & Destructor Documentation
Dune::LocalIndex::LocalIndex | ( | std::ptrdiff_t | index | ) | [inline] |
Constructor.
- Parameters:
-
index The value of the index.
The documentation for this class was generated from the following file: