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

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

#include "include/MPIFileReader.hpp"

Public Member Functions

 MPIFileReader (MPI_Comm aComm, std::string aFname)
 Create the FileReader. More...
 
 ~MPIFileReader ()
 Destroy the File Reader. More...
 

Public Attributes

std::string fileName
 File to read From. More...
 
int openError = 0
 error flag from openning More...
 
int offset
 Offset from where to begin reading. More...
 
int length
 Length from where to begin reading. More...
 
MPI_Datatype thisType
 Datatype to read. More...
 
MPI_File fh
 File handle. More...
 
MPI_Comm comm
 MPI Communicator for reading. More...
 

Detailed Description

Defines data structures for MPIFileReader in swSim.

Constructor & Destructor Documentation

◆ MPIFileReader()

swSim::MPIFileReader::MPIFileReader ( MPI_Comm  aComm,
std::string  aFname 
)

Create the FileReader.

◆ ~MPIFileReader()

swSim::MPIFileReader::~MPIFileReader ( )

Destroy the File Reader.

Member Data Documentation

◆ fileName

std::string swSim::MPIFileReader::fileName

File to read From.

◆ openError

int swSim::MPIFileReader::openError = 0

error flag from openning

◆ offset

int swSim::MPIFileReader::offset

Offset from where to begin reading.

◆ length

int swSim::MPIFileReader::length

Length from where to begin reading.

◆ thisType

MPI_Datatype swSim::MPIFileReader::thisType

Datatype to read.

◆ fh

MPI_File swSim::MPIFileReader::fh

File handle.

◆ comm

MPI_Comm swSim::MPIFileReader::comm

MPI Communicator for reading.


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