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
96 const Epetra_Map& epetraMap ()
const;
111 #ifdef QUESO_HAS_TRILINOS
112 Epetra_Map* m_epetraMap;
const MpiComm & Comm() const
Access function for MpiComm communicator.
int m_numMyElements
Number of elements owned by the calling processor.
int NumMyElements() const
Returns the number of elements owned by the calling processor.
Map & operator=(const Map &rhs)
Assignment operator.
The QUESO MPI Communicator Class.
int m_numGlobalElements
Total number of elements across all processors.
MpiComm m_MpiComm
This communicator can be queried for processor rank and size information.
int m_indexBase
Base integer value for indexed array references.
int MinMyGID() const
The minimum global index value on the calling processor.
Map()
Default constructor. Do not call this directly.
A class for partitioning vectors and matrices.
void copy(const Map &src)
Copies the map.
int NumGlobalElements() const
Returns the total number of elements across all processors.