OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | List of all members
NoCommTopology Class Reference

Simple policy when no topology is available or needed. More...

#include <NoCommTopology.h>

Inheritance diagram for NoCommTopology:
Inheritance graph
[legend]
Collaboration diagram for NoCommTopology:
Collaboration graph
[legend]

Public Member Functions

 NoCommTopology (MPI_Comm comm=MPI_COMM_WORLD)
 
virtual ~NoCommTopology ()
 
void discover ()
 every implementation must provide a discover method More...
 
- Public Member Functions inherited from CommTopology
 CommTopology (MPI_Comm comm=MPI_COMM_WORLD)
 
virtual ~CommTopology ()
 
int getRank () const
 
int getNP () const
 
unsigned int getNumDimensions () const
 
unsigned int getCoreID () const
 
std::vector< unsigned int > getCoordinates () const
 
std::vector< unsigned int > getDimensions () const
 

Additional Inherited Members

- Protected Attributes inherited from CommTopology
unsigned int hwID_
 
unsigned int num_dims_
 
unsigned int my_core_id_
 
std::vector< unsigned int > coords_
 
std::vector< unsigned int > dims_
 

Detailed Description

Simple policy when no topology is available or needed.

Definition at line 9 of file NoCommTopology.h.

Constructor & Destructor Documentation

NoCommTopology::NoCommTopology ( MPI_Comm  comm = MPI_COMM_WORLD)
inline

Definition at line 13 of file NoCommTopology.h.

virtual NoCommTopology::~NoCommTopology ( )
inlinevirtual

Definition at line 17 of file NoCommTopology.h.

Member Function Documentation

void NoCommTopology::discover ( )
inlinevirtual

every implementation must provide a discover method

Implements CommTopology.

Definition at line 20 of file NoCommTopology.h.


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