#include <EpetraExt_MultiMpiComm.h>
Inheritance diagram for EpetraExt::MultiMpiComm:

| MultiMpiComm (MPI_Comm globalComm, int subDomainProcs, int numTimeSteps_=-1) | |
| MultiMpiComm constuctor. | |
| MultiMpiComm (const Epetra_MpiComm &Comm, int numTimeSteps_) | |
| MultiMpiComm constuctor, no parallelism over domains. | |
| MultiMpiComm (const MultiMpiComm &MMC) | |
| Copy constructor. | |
| virtual | ~MultiMpiComm () |
| Destructor. | |
Public Member Functions | |
| Epetra_Comm & | SubDomainComm () const |
| Get reference to split Communicator for sub-domain. | |
| Epetra_MpiComm & | SubDomainMpiComm () const |
| Get reference to split MPI Communicator for sub-domain. | |
| void | ResetNumTimeSteps (int numTimeSteps) |
| Reset total number of time steps, allowing time steps per domain to. | |
Protected Attributes | |
| Epetra_MpiComm * | subComm |
Definition at line 54 of file EpetraExt_MultiMpiComm.h.
| EpetraExt::MultiMpiComm::MultiMpiComm | ( | MPI_Comm | globalComm, | |
| int | subDomainProcs, | |||
| int | numTimeSteps_ = -1 | |||
| ) |
MultiMpiComm constuctor.
Creates a MultiMpiComm 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 35 of file EpetraExt_MultiMpiComm.cpp.
| EpetraExt::MultiMpiComm::MultiMpiComm | ( | const Epetra_MpiComm & | Comm, | |
| int | numTimeSteps_ | |||
| ) |
MultiMpiComm constuctor, no parallelism over domains.
Creates a MultiMpiComm object for the simple case of no parallelism over multiple steps.
| In | EpetraMpiComm - Epetra_MpiComm communciator | |
| In | numTimeSteps - Number of steps |
Definition at line 72 of file EpetraExt_MultiMpiComm.cpp.
| EpetraExt::MultiMpiComm::MultiMpiComm | ( | const MultiMpiComm & | MMC | ) |
| EpetraExt::MultiMpiComm::~MultiMpiComm | ( | ) | [virtual] |
| Epetra_Comm& EpetraExt::MultiMpiComm::SubDomainComm | ( | ) | const [inline, virtual] |
Get reference to split Communicator for sub-domain.
Implements EpetraExt::MultiComm.
Definition at line 89 of file EpetraExt_MultiMpiComm.h.
| Epetra_MpiComm& EpetraExt::MultiMpiComm::SubDomainMpiComm | ( | ) | const [inline] |
Get reference to split MPI Communicator for sub-domain.
Definition at line 92 of file EpetraExt_MultiMpiComm.h.
| void EpetraExt::MultiMpiComm::ResetNumTimeSteps | ( | int | numTimeSteps | ) | [virtual] |
Reset total number of time steps, allowing time steps per domain to.
Implements EpetraExt::MultiComm.
Definition at line 103 of file EpetraExt_MultiMpiComm.cpp.
Epetra_MpiComm* EpetraExt::MultiMpiComm::subComm [protected] |
Definition at line 100 of file EpetraExt_MultiMpiComm.h.
1.4.7