ROL
Public Member Functions | Private Attributes | List of all members
ROL::PinTCommunicators Class Reference

#include <ROL_PinTVector.hpp>

Public Member Functions

 PinTCommunicators (MPI_Comm parent, int spatialProcs)
 
 ~PinTCommunicators ()
 
MPI_Comm getParentCommunicator () const
 
MPI_Comm getSpaceCommunicator () const
 
MPI_Comm getTimeCommunicator () const
 
int getTimeRank () const
 
int getTimeSize () const
 
int getSpaceRank () const
 
int getSpaceSize () const
 

Private Attributes

MPI_Comm parentComm_
 
MPI_Comm spaceComm_
 
MPI_Comm timeComm_
 
int timeSize_
 
int timeRank_
 
int spaceSize_
 
int spaceRank_
 

Detailed Description

This class handles PinT communication. Its based on the approach taken in X-Braid.

Definition at line 67 of file ROL_PinTVector.hpp.

Constructor & Destructor Documentation

ROL::PinTCommunicators::PinTCommunicators ( MPI_Comm  parent,
int  spatialProcs 
)
inline

Definition at line 69 of file ROL_PinTVector.hpp.

References parentComm_, spaceComm_, spaceRank_, spaceSize_, timeComm_, timeRank_, and timeSize_.

ROL::PinTCommunicators::~PinTCommunicators ( )
inline

Definition at line 96 of file ROL_PinTVector.hpp.

References spaceComm_, and timeComm_.

Member Function Documentation

MPI_Comm ROL::PinTCommunicators::getParentCommunicator ( ) const
inline

Definition at line 100 of file ROL_PinTVector.hpp.

References parentComm_.

MPI_Comm ROL::PinTCommunicators::getSpaceCommunicator ( ) const
inline

Definition at line 101 of file ROL_PinTVector.hpp.

References spaceComm_.

MPI_Comm ROL::PinTCommunicators::getTimeCommunicator ( ) const
inline

Definition at line 102 of file ROL_PinTVector.hpp.

References timeComm_.

int ROL::PinTCommunicators::getTimeRank ( ) const
inline

Definition at line 104 of file ROL_PinTVector.hpp.

References timeRank_.

int ROL::PinTCommunicators::getTimeSize ( ) const
inline

Definition at line 105 of file ROL_PinTVector.hpp.

References timeSize_.

int ROL::PinTCommunicators::getSpaceRank ( ) const
inline

Definition at line 107 of file ROL_PinTVector.hpp.

References spaceRank_.

int ROL::PinTCommunicators::getSpaceSize ( ) const
inline

Definition at line 108 of file ROL_PinTVector.hpp.

References spaceSize_.

Member Data Documentation

MPI_Comm ROL::PinTCommunicators::parentComm_
private

Definition at line 112 of file ROL_PinTVector.hpp.

Referenced by getParentCommunicator(), and PinTCommunicators().

MPI_Comm ROL::PinTCommunicators::spaceComm_
private

Definition at line 114 of file ROL_PinTVector.hpp.

Referenced by getSpaceCommunicator(), PinTCommunicators(), and ~PinTCommunicators().

MPI_Comm ROL::PinTCommunicators::timeComm_
private

Definition at line 115 of file ROL_PinTVector.hpp.

Referenced by getTimeCommunicator(), PinTCommunicators(), and ~PinTCommunicators().

int ROL::PinTCommunicators::timeSize_
private

Definition at line 116 of file ROL_PinTVector.hpp.

Referenced by getTimeSize(), and PinTCommunicators().

int ROL::PinTCommunicators::timeRank_
private

Definition at line 117 of file ROL_PinTVector.hpp.

Referenced by getTimeRank(), and PinTCommunicators().

int ROL::PinTCommunicators::spaceSize_
private

Definition at line 118 of file ROL_PinTVector.hpp.

Referenced by getSpaceSize(), and PinTCommunicators().

int ROL::PinTCommunicators::spaceRank_
private

Definition at line 119 of file ROL_PinTVector.hpp.

Referenced by getSpaceRank(), and PinTCommunicators().


The documentation for this class was generated from the following file: