EpetraExt Package Browser (Single Doxygen Collection)
Development
|
#include <EpetraExt_MultiSerialComm.h>
Public Member Functions | |
virtual Epetra_Comm & | SubDomainComm () const |
Get reference to split Communicator for sub-domain. More... | |
virtual Epetra_Comm & | TimeDomainComm () const |
Get reference to split Communicator for time domain. More... | |
virtual int | NumSubDomains () const |
Return number of sub-domains that the global problem is split into. More... | |
virtual int | SubDomainRank () const |
Return integer [0:numSubDomains-1} corresponding to this sub-domain's rank. More... | |
virtual int | NumTimeDomains () const |
Return number of time domains that the global problem is split into. More... | |
virtual int | TimeDomainRank () const |
Return integer [0:numTimeDomains-1} corresponding to this time-domain's rank. More... | |
virtual int | NumTimeStepsOnDomain () const |
Return number of time steps, first step number, on time domain. More... | |
virtual int | FirstTimeStepOnDomain () const |
virtual int | NumTimeSteps () const |
Return total number of time steps. More... | |
void | ResetNumTimeSteps (int numTimeSteps) |
Reset total number of time steps, allowing time steps per domain to. More... | |
virtual Epetra_Comm * | Clone () const |
virtual void | Barrier () const |
virtual int | Broadcast (double *MyVals, int Count, int Root) const |
virtual int | Broadcast (int *MyVals, int Count, int Root) const |
virtual int | Broadcast (long *MyVals, int Count, int Root) const |
virtual int | Broadcast (long long *MyVals, int Count, int Root) const |
virtual int | Broadcast (char *MyVals, int Count, int Root) const |
virtual int | GatherAll (double *MyVals, double *AllVals, int Count) const |
virtual int | GatherAll (int *MyVals, int *AllVals, int Count) const |
virtual int | GatherAll (long *MyVals, long *AllVals, int Count) const |
virtual int | GatherAll (long long *MyVals, long long *AllVals, int Count) const |
virtual int | SumAll (double *PartialSums, double *GlobalSums, int Count) const |
virtual int | SumAll (int *PartialSums, int *GlobalSums, int Count) const |
virtual int | SumAll (long *PartialSums, long *GlobalSums, int Count) const |
virtual int | SumAll (long long *PartialSums, long long *GlobalSums, int Count) const |
virtual int | MaxAll (double *PartialMaxs, double *GlobalMaxs, int Count) const |
virtual int | MaxAll (int *PartialMaxs, int *GlobalMaxs, int Count) const |
virtual int | MaxAll (long *PartialMaxs, long *GlobalMaxs, int Count) const |
virtual int | MaxAll (long long *PartialMaxs, long long *GlobalMaxs, int Count) const |
virtual int | MinAll (double *PartialMins, double *GlobalMins, int Count) const |
virtual int | MinAll (int *PartialMins, int *GlobalMins, int Count) const |
virtual int | MinAll (long *PartialMins, long *GlobalMins, int Count) const |
virtual int | MinAll (long long *PartialMins, long long *GlobalMins, int Count) const |
virtual int | ScanSum (double *MyVals, double *ScanSums, int Count) const |
virtual int | ScanSum (int *MyVals, int *ScanSums, int Count) const |
virtual int | ScanSum (long *MyVals, long *ScanSums, int Count) const |
virtual int | ScanSum (long long *MyVals, long long *ScanSums, int Count) const |
virtual int | MyPID () const |
virtual int | NumProc () const |
virtual Epetra_Distributor * | CreateDistributor () const |
virtual Epetra_Directory * | CreateDirectory (const Epetra_BlockMap &Map) const |
virtual void | PrintInfo (std::ostream &os) const |
Public Member Functions inherited from EpetraExt::MultiComm | |
MultiComm () | |
Constructor. More... | |
virtual | ~MultiComm () |
Destructor. More... | |
Public Member Functions inherited from Epetra_Comm | |
virtual | ~Epetra_Comm () |
Protected Attributes | |
Teuchos::RCP< Epetra_Comm > | myComm |
Epetra_SerialComm * | subComm |
int | numTimeSteps |
MultiSerialComm (int numTimeSteps_=-1) | |
MultiSerialComm constuctor. More... | |
MultiSerialComm (const MultiSerialComm &MSC) | |
Copy constructor. More... | |
virtual | ~MultiSerialComm () |
Destructor. More... | |
Definition at line 66 of file EpetraExt_MultiSerialComm.h.
EpetraExt::MultiSerialComm::MultiSerialComm | ( | int | numTimeSteps_ = -1 | ) |
MultiSerialComm constuctor.
Creates a MultiSerialComm object and communicators for the global and sub- problems.
In | globalComm - MPI communciator (usually MPI_COMM_WORLD) |
In | subDomainProcss - number of processors in each subdomain. This must divide evenly into the total number of processors of the globalComm. |
In | numTimeSteps (Default=-1) - Piece of partitioning data needed specifically for parallel space-time project, corresponding to the total number of time steps. |
Definition at line 46 of file EpetraExt_MultiSerialComm.cpp.
EpetraExt::MultiSerialComm::MultiSerialComm | ( | const MultiSerialComm & | MSC | ) |
Copy constructor.
Definition at line 57 of file EpetraExt_MultiSerialComm.cpp.
|
virtual |
Destructor.
Definition at line 64 of file EpetraExt_MultiSerialComm.cpp.
|
inlinevirtual |
Get reference to split Communicator for sub-domain.
Implements EpetraExt::MultiComm.
Definition at line 90 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Get reference to split Communicator for time domain.
Implements EpetraExt::MultiComm.
Definition at line 93 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Return number of sub-domains that the global problem is split into.
Implements EpetraExt::MultiComm.
Definition at line 96 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Return integer [0:numSubDomains-1} corresponding to this sub-domain's rank.
Implements EpetraExt::MultiComm.
Definition at line 99 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Return number of time domains that the global problem is split into.
Implements EpetraExt::MultiComm.
Definition at line 102 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Return integer [0:numTimeDomains-1} corresponding to this time-domain's rank.
Implements EpetraExt::MultiComm.
Definition at line 105 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Return number of time steps, first step number, on time domain.
Implements EpetraExt::MultiComm.
Definition at line 108 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements EpetraExt::MultiComm.
Definition at line 109 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Return total number of time steps.
Implements EpetraExt::MultiComm.
Definition at line 112 of file EpetraExt_MultiSerialComm.h.
|
virtual |
Reset total number of time steps, allowing time steps per domain to.
Implements EpetraExt::MultiComm.
Definition at line 69 of file EpetraExt_MultiSerialComm.cpp.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 118 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 119 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 120 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 122 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 124 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 126 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 128 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 130 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 132 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 134 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 136 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 138 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 140 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 142 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 144 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 146 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 148 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 150 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 152 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 154 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 156 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 158 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 160 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 162 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 164 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 166 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 168 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 170 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 171 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 172 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 173 of file EpetraExt_MultiSerialComm.h.
|
inlinevirtual |
Implements Epetra_Comm.
Definition at line 175 of file EpetraExt_MultiSerialComm.h.
|
protected |
Definition at line 175 of file EpetraExt_MultiSerialComm.h.
|
protected |
Definition at line 180 of file EpetraExt_MultiSerialComm.h.
|
protected |
Definition at line 181 of file EpetraExt_MultiSerialComm.h.