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:
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 34 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:
In EpetraMpiComm - Epetra_MpiComm communciator
In numTimeSteps - Number of steps

Definition at line 71 of file EpetraExt_MultiMpiComm.cpp.

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

Copy constructor.

Definition at line 86 of file EpetraExt_MultiMpiComm.cpp.

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

Destructor.

Definition at line 97 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 102 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
Generated on Wed Apr 13 09:57:55 2011 for EpetraExt by  doxygen 1.6.3