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
int m_numMyElements
Number of elements owned by the calling processor.
int NumGlobalElements() const
Returns the total number of elements across all processors.
int MinMyGID() const
The minimum global index value on the calling processor.
A class for partitioning vectors and matrices.
The QUESO MPI Communicator Class.
void copy(const Map &src)
Copies the map.
Epetra_Map * m_epetraMap
Epetra_Map.
Map & operator=(const Map &rhs)
Assignment operator.
MpiComm m_MpiComm
This communicator can be queried for processor rank and size information.
const MpiComm & Comm() const
Access function for MpiComm communicator.
and that you are informed that you can do these things To protect your we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it For if you distribute copies of the whether gratis or for a you must give the recipients all the rights that we gave you You must make sure that receive or can get the source code If you link other code with the you must provide complete object files to the so that they can relink them with the library after making changes to the library and recompiling it And you must show them these terms so they know their rights We protect your rights with a two step which gives you legal permission to copy
const Epetra_Map & epetraMap() const
Trilinos Epetra_Map: A class for partitioning vectors and matrices.
int m_numGlobalElements
Total number of elements across all processors.
int NumMyElements() const
Returns the number of elements owned by the calling processor.
int m_indexBase
Base integer value for indexed array references.
Map()
Default constructor. Do not call this directly.