28 #include <queso/Defines.h>
29 #ifdef QUESO_HAS_TRILINOS
30 #include <Epetra_Map.h>
33 #include <queso/MpiComm.h>
56 Map(
int numGlobalElements,
95 #ifdef QUESO_HAS_TRILINOS
111 #ifdef QUESO_HAS_TRILINOS
Map & operator=(const Map &rhs)
Assignment operator.
Epetra_Map * m_epetraMap
Epetra_Map.
A class for partitioning vectors and matrices.
const Epetra_Map & epetraMap() const
Trilinos Epetra_Map: A class for partitioning vectors and matrices.
int MinMyGID() const
The minimum global index value on the calling processor.
int m_numGlobalElements
Total number of elements across all processors.
int m_numMyElements
Number of elements owned by the calling processor.
MpiComm m_MpiComm
This communicator can be queried for processor rank and size information.
int NumGlobalElements() const
Returns the total number of elements across all processors.
int m_indexBase
Base integer value for indexed array references.
The QUESO MPI Communicator Class.
void copy(const Map &src)
Copies the map.
int NumMyElements() const
Returns the number of elements owned by the calling processor.
const MpiComm & Comm() const
Access function for MpiComm communicator.
Map()
Default constructor. Do not call this directly.