swSim  Version 1.0
All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | Public Attributes | List of all members
swSim::MPIData Class Reference

Defines data structures for MPIData in swSim. More...

#include "include/MPIData.hpp"

Public Member Functions

 MPIData ()
 Create the MPIData object with mpi_comm_world. More...
 
 MPIData (MPI_Comm l_mpi_comm)
 Create the MPIData object with a specific communicator. More...
 
 ~MPIData ()
 Destroy the MPIData object. More...
 

Public Attributes

MPI_Comm mComm
 An MPI Communicator. More...
 
int rank
 This processes rank int he communicator. More...
 
int size
 The total number of processes in the communicator. More...
 

Detailed Description

Defines data structures for MPIData in swSim.

Constructor & Destructor Documentation

◆ MPIData() [1/2]

swSim::MPIData::MPIData ( )

Create the MPIData object with mpi_comm_world.

◆ MPIData() [2/2]

swSim::MPIData::MPIData ( MPI_Comm  l_mpi_comm)

Create the MPIData object with a specific communicator.

◆ ~MPIData()

swSim::MPIData::~MPIData ( )

Destroy the MPIData object.

Member Data Documentation

◆ mComm

MPI_Comm swSim::MPIData::mComm

An MPI Communicator.

◆ rank

int swSim::MPIData::rank

This processes rank int he communicator.

◆ size

int swSim::MPIData::size

The total number of processes in the communicator.


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