dune-common  2.3.1-rc1
Public Member Functions | List of all members
Dune::LocalIndex Class Reference

An index present on the local process. More...

#include <dune/common/parallel/localindex.hh>

Public Member Functions

 LocalIndex ()
 Constructor. known to other processes. More...
 
 LocalIndex (std::size_t index)
 Constructor. More...
 
const std::size_t & local () const
 get the local index. More...
 
 operator std::size_t () const
 Convert to the local index represented by an int. More...
 
LocalIndexoperator= (std::size_t index)
 Assign a new local index. More...
 
LocalIndexState state () const
 Get the state. More...
 
void setState (LocalIndexState state)
 Set the state. More...
 

Detailed Description

An index present on the local process.

Constructor & Destructor Documentation

Dune::LocalIndex::LocalIndex ( )
inline

Constructor. known to other processes.

Dune::LocalIndex::LocalIndex ( std::size_t  index)
inline

Constructor.

Parameters
indexThe value of the index.

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