25 #include <queso/Map.h>
26 #include <queso/MpiComm.h>
35 int numGlobalElements,
40 #ifdef QUESO_HAS_TRILINOS
41 m_epetraMap ( new Epetra_Map(numGlobalElements,0,comm.epetraMpiComm()) )
43 m_numGlobalElements(numGlobalElements),
44 m_indexBase (indexBase),
45 m_numMyElements (numGlobalElements)
53 m_MpiComm(src.m_MpiComm)
54 #ifdef QUESO_HAS_TRILINOS
65 #ifdef QUESO_HAS_TRILINOS
87 #ifdef QUESO_HAS_TRILINOS
98 #ifdef QUESO_HAS_TRILINOS
109 #ifdef QUESO_HAS_TRILINOS
120 #ifdef QUESO_HAS_TRILINOS
136 #ifdef QUESO_HAS_TRILINOS
149 #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.