EpetraExt Development
Public Member Functions | Protected Attributes
EpetraExt::MultiMpiComm Class Reference

#include <EpetraExt_MultiMpiComm.h>

Inheritance diagram for EpetraExt::MultiMpiComm:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Epetra_CommSubDomainComm () const
 Get reference to split Communicator for sub-domain.
Epetra_MpiCommSubDomainMpiComm () 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_MpiCommsubComm
 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.

Detailed Description

Definition at line 54 of file EpetraExt_MultiMpiComm.h.


Constructor & Destructor Documentation

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.

Parameters:
InglobalComm - MPI communciator (usually MPI_COMM_WORLD)
InsubDomainProcss - number of processors in each subdomain. This must divide evenly into the total number of processors of the globalComm.
InnumTimeSteps (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.

Parameters:
InEpetraMpiComm - Epetra_MpiComm communciator
InnumTimeSteps - Number of steps

Definition at line 72 of file EpetraExt_MultiMpiComm.cpp.

EpetraExt::MultiMpiComm::MultiMpiComm ( const MultiMpiComm MMC)

Copy constructor.

Definition at line 87 of file EpetraExt_MultiMpiComm.cpp.

EpetraExt::MultiMpiComm::~MultiMpiComm ( ) [virtual]

Destructor.

Definition at line 98 of file EpetraExt_MultiMpiComm.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 100 of file EpetraExt_MultiMpiComm.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines