Dune Core Modules (unstable)
plocalindex.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
An index present on the local process with an additional attribute flag.
Definition: plocalindex.hh:52
T Attribute
The type of the attributes. Normally this will be an enumeration like.
Definition: plocalindex.hh:67
std::ostream & operator<<(std::ostream &os, const ParallelLocalIndex< T > &index)
Print the local index to a stream.
Definition: plocalindex.hh:40
bool isPublic() const
Check whether the index might also be known other processes.
Definition: plocalindex.hh:273
void setAttribute(const Attribute &attribute)
Set the attribute of the index.
Definition: plocalindex.hh:247
size_t local() const
get the local index.
Definition: plocalindex.hh:253
LocalIndexState
The states available for the local indices.
Definition: localindex.hh:28
void setState(const LocalIndexState &state)
Set the state.
Definition: plocalindex.hh:285
ParallelLocalIndex< Attribute > & operator=(size_t index)
Assign a new local index.
Definition: plocalindex.hh:266
LocalIndexState state() const
Get the state.
Definition: plocalindex.hh:279
ParallelLocalIndex()
Parameterless constructor.
Definition: plocalindex.hh:234
const Attribute attribute() const
Get the attribute of the index.
Definition: plocalindex.hh:240
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.
constexpr auto operator!=(const HybridMultiIndex< S... > &lhs, const HybridMultiIndex< T... > &rhs)
Compare two HybridMultiIndexs for inequality.
Definition: hybridmultiindex.hh:441
constexpr bool operator==(const HybridMultiIndex< S... > &lhs, const HybridMultiIndex< T... > &rhs)
Compare two HybridMultiIndexs for value equality.
Definition: hybridmultiindex.hh:404
A traits class describing the mapping of types onto MPI_Datatypes.
Definition: mpitraits.hh:41
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Jan 8, 23:33, 2026)