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

#include <EpetraExt_MultiComm.h>

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

List of all members.

Public Member Functions

 MultiComm (Teuchos::RCP< Epetra_Comm > epetra_comm)
virtual ~MultiComm ()
 Destructor.
virtual Epetra_CommSubDomainComm () const =0
 Get reference to split Communicator for sub-domain.
virtual int NumSubDomains () const
 Return number of sub-domains that the global problem is split into.
virtual int SubDomainRank () const
 Return integer [0:numSubDomains-1} corresponding to this sub-domain's rank.
virtual int NumTimeStepsOnDomain () const
 Return number of time steps, first step number, on time domain.
virtual int FirstTimeStepOnDomain () const
virtual int NumTimeSteps () const
 Return total number of time steps.
virtual void ResetNumTimeSteps (int numTimeSteps)=0
 Reset total number of time steps, allowing time steps per domain to.
virtual Epetra_CommClone () const
 Need implementations of pure virtual Epetra_Comm methods.
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 (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 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 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 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 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 MyPID () const
virtual int NumProc () const
virtual Epetra_DistributorCreateDistributor () const
virtual Epetra_DirectoryCreateDirectory (const Epetra_BlockMap &Map) const
virtual void PrintInfo (ostream &os) const

Protected Attributes

Teuchos::RCP< Epetra_CommmyComm
int numSubDomains
int subDomainRank
int numTimeSteps
int numTimeStepsOnDomain
int firstTimeStepOnDomain

Detailed Description

Definition at line 54 of file EpetraExt_MultiComm.h.


Constructor & Destructor Documentation

EpetraExt::MultiComm::MultiComm ( Teuchos::RCP< Epetra_Comm epetra_comm) [inline]

Definition at line 57 of file EpetraExt_MultiComm.h.

virtual EpetraExt::MultiComm::~MultiComm ( ) [inline, virtual]

Destructor.

Definition at line 60 of file EpetraExt_MultiComm.h.


Member Function Documentation

virtual Epetra_Comm& EpetraExt::MultiComm::SubDomainComm ( ) const [pure virtual]

Get reference to split Communicator for sub-domain.

Implemented in EpetraExt::MultiMpiComm, and EpetraExt::MultiSerialComm.

virtual int EpetraExt::MultiComm::NumSubDomains ( ) const [inline, virtual]

Return number of sub-domains that the global problem is split into.

Definition at line 67 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::SubDomainRank ( ) const [inline, virtual]

Return integer [0:numSubDomains-1} corresponding to this sub-domain's rank.

Definition at line 70 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::NumTimeStepsOnDomain ( ) const [inline, virtual]

Return number of time steps, first step number, on time domain.

Definition at line 73 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::FirstTimeStepOnDomain ( ) const [inline, virtual]

Definition at line 74 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::NumTimeSteps ( ) const [inline, virtual]

Return total number of time steps.

Definition at line 77 of file EpetraExt_MultiComm.h.

virtual void EpetraExt::MultiComm::ResetNumTimeSteps ( int  numTimeSteps) [pure virtual]

Reset total number of time steps, allowing time steps per domain to.

Implemented in EpetraExt::MultiMpiComm, and EpetraExt::MultiSerialComm.

virtual Epetra_Comm* EpetraExt::MultiComm::Clone ( ) const [inline, virtual]

Need implementations of pure virtual Epetra_Comm methods.

Implements Epetra_Comm.

Definition at line 85 of file EpetraExt_MultiComm.h.

virtual void EpetraExt::MultiComm::Barrier ( ) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 86 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::Broadcast ( double *  MyVals,
int  Count,
int  Root 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 87 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::Broadcast ( int *  MyVals,
int  Count,
int  Root 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 89 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::Broadcast ( long *  MyVals,
int  Count,
int  Root 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 91 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::Broadcast ( char *  MyVals,
int  Count,
int  Root 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 93 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::GatherAll ( double *  MyVals,
double *  AllVals,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 95 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::GatherAll ( int *  MyVals,
int *  AllVals,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 97 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::GatherAll ( long *  MyVals,
long *  AllVals,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 99 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::SumAll ( double *  PartialSums,
double *  GlobalSums,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 101 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::SumAll ( int *  PartialSums,
int *  GlobalSums,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 103 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::SumAll ( long *  PartialSums,
long *  GlobalSums,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 105 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MaxAll ( double *  PartialMaxs,
double *  GlobalMaxs,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 107 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MaxAll ( int *  PartialMaxs,
int *  GlobalMaxs,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 109 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MaxAll ( long *  PartialMaxs,
long *  GlobalMaxs,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 111 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MinAll ( double *  PartialMins,
double *  GlobalMins,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 113 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MinAll ( int *  PartialMins,
int *  GlobalMins,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 115 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MinAll ( long *  PartialMins,
long *  GlobalMins,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 117 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::ScanSum ( double *  MyVals,
double *  ScanSums,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 119 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::ScanSum ( int *  MyVals,
int *  ScanSums,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 121 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::ScanSum ( long *  MyVals,
long *  ScanSums,
int  Count 
) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 123 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::MyPID ( ) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 125 of file EpetraExt_MultiComm.h.

virtual int EpetraExt::MultiComm::NumProc ( ) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 126 of file EpetraExt_MultiComm.h.

virtual Epetra_Distributor* EpetraExt::MultiComm::CreateDistributor ( ) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 127 of file EpetraExt_MultiComm.h.

virtual Epetra_Directory* EpetraExt::MultiComm::CreateDirectory ( const Epetra_BlockMap Map) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 128 of file EpetraExt_MultiComm.h.

virtual void EpetraExt::MultiComm::PrintInfo ( ostream &  os) const [inline, virtual]

Implements Epetra_Comm.

Definition at line 130 of file EpetraExt_MultiComm.h.


Member Data Documentation

Teuchos::RCP<Epetra_Comm> EpetraExt::MultiComm::myComm [protected]

Definition at line 130 of file EpetraExt_MultiComm.h.

Definition at line 136 of file EpetraExt_MultiComm.h.

Definition at line 137 of file EpetraExt_MultiComm.h.

Definition at line 138 of file EpetraExt_MultiComm.h.

Definition at line 139 of file EpetraExt_MultiComm.h.

Definition at line 140 of file EpetraExt_MultiComm.h.


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