Dune Core Modules (2.8.0)

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. 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.
 
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

◆ LocalIndex()

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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)