|
dune-common 2.10
|
An index present on the local process. More...
#include <dune/common/parallel/localindex.hh>
Public Member Functions | |
| LocalIndex () | |
| Constructor. known to other processes. | |
| LocalIndex (std::size_t index) | |
| Constructor. | |
| const std::size_t & | local () const |
| get the local index. | |
| operator std::size_t () const | |
| Convert to the local index represented by an int. | |
| LocalIndex & | operator= (std::size_t index) |
| Assign a new local index. | |
| LocalIndexState | state () const |
| Get the state. | |
| void | setState (LocalIndexState state) |
| Set the state. | |
An index present on the local process.
|
inline |
Constructor. known to other processes.
|
inline |
Constructor.
| index | The value of the index. |