Tpetra parallel linear algebra
Version of the Day
|
"Local" part of Map suitable for Kokkos kernels. More...
#include <Tpetra_Details_LocalMap.hpp>
Public Member Functions | |
KOKKOS_INLINE_FUNCTION LocalOrdinal | getNodeNumElements () const |
The number of indices that live on the calling process. More... | |
KOKKOS_INLINE_FUNCTION GlobalOrdinal | getIndexBase () const |
The (global) index base. More... | |
KOKKOS_INLINE_FUNCTION bool | isContiguous () const |
Whether the Map is (locally) contiguous. More... | |
KOKKOS_INLINE_FUNCTION LocalOrdinal | getMinLocalIndex () const |
The minimum local index. More... | |
KOKKOS_INLINE_FUNCTION LocalOrdinal | getMaxLocalIndex () const |
The maximum local index. More... | |
KOKKOS_INLINE_FUNCTION GlobalOrdinal | getMinGlobalIndex () const |
The minimum global index on the calling process. More... | |
KOKKOS_INLINE_FUNCTION GlobalOrdinal | getMaxGlobalIndex () const |
The maximum global index on the calling process. More... | |
KOKKOS_INLINE_FUNCTION LocalOrdinal | getLocalElement (const GlobalOrdinal globalIndex) const |
Get the local index corresponding to the given global index. More... | |
KOKKOS_INLINE_FUNCTION GlobalOrdinal | getGlobalElement (const LocalOrdinal localIndex) const |
Get the global index corresponding to the given local index. More... | |
"Local" part of Map suitable for Kokkos kernels.
The "local" Map is suitable for use in Kokkos parallel operations in the Map's native execution space, which is Map::device_type::execution_space
.
By "local," we mean that the object performs no MPI communication, and can only access information that would never need MPI communication, no matter what kind of Map this is.
Definition at line 71 of file Tpetra_Details_LocalMap.hpp.
|
inline |
The number of indices that live on the calling process.
Definition at line 107 of file Tpetra_Details_LocalMap.hpp.
|
inline |
The (global) index base.
Definition at line 112 of file Tpetra_Details_LocalMap.hpp.
|
inline |
Whether the Map is (locally) contiguous.
This is conservative; a Map is "contiguous" if and only if it is stored that way.
Definition at line 120 of file Tpetra_Details_LocalMap.hpp.
|
inline |
The minimum local index.
Definition at line 125 of file Tpetra_Details_LocalMap.hpp.
|
inline |
The maximum local index.
Definition at line 131 of file Tpetra_Details_LocalMap.hpp.
|
inline |
The minimum global index on the calling process.
Definition at line 141 of file Tpetra_Details_LocalMap.hpp.
|
inline |
The maximum global index on the calling process.
Definition at line 146 of file Tpetra_Details_LocalMap.hpp.
|
inline |
Get the local index corresponding to the given global index.
Definition at line 152 of file Tpetra_Details_LocalMap.hpp.
|
inline |
Get the global index corresponding to the given local index.
Definition at line 173 of file Tpetra_Details_LocalMap.hpp.