Dune Core Modules (2.8.0)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
plocalindex.hh
Go to the documentation of this file.
An index present on the local process with an additional attribute flag.
Definition: plocalindex.hh:47
T Attribute
The type of the attributes. Normally this will be an enumeration like.
Definition: plocalindex.hh:62
std::ostream & operator<<(std::ostream &os, const ParallelLocalIndex< T > &index)
Print the local index to a stream.
Definition: plocalindex.hh:35
bool isPublic() const
Check whether the index might also be known other processes.
Definition: plocalindex.hh:268
void setAttribute(const Attribute &attribute)
Set the attribute of the index.
Definition: plocalindex.hh:242
size_t local() const
get the local index.
Definition: plocalindex.hh:248
LocalIndexState
The states avaiable for the local indices.
Definition: localindex.hh:26
void setState(const LocalIndexState &state)
Set the state.
Definition: plocalindex.hh:280
ParallelLocalIndex< Attribute > & operator=(size_t index)
Assign a new local index.
Definition: plocalindex.hh:261
LocalIndexState state() const
Get the state.
Definition: plocalindex.hh:274
ParallelLocalIndex()
Parameterless constructor.
Definition: plocalindex.hh:229
const Attribute attribute() const
Get the attribute of the index.
Definition: plocalindex.hh:235
EnableIfInterOperable< T1, T2, bool >::type operator==(const ForwardIteratorFacade< T1, V1, R1, D > &lhs, const ForwardIteratorFacade< T2, V2, R2, D > &rhs)
Checks for equality.
Definition: iteratorfacades.hh:235
EnableIfInterOperable< T1, T2, bool >::type operator!=(const ForwardIteratorFacade< T1, V1, R1, D > &lhs, const ForwardIteratorFacade< T2, V2, R2, D > &rhs)
Checks for inequality.
Definition: iteratorfacades.hh:257
Provides a map between global and local indices.
Provides classes for use as the local index in ParallelIndexSet.
Traits classes for mapping types onto MPI_Datatype.
A traits class describing the mapping of types onto MPI_Datatypes.
Definition: mpitraits.hh:39
