Template Class MPIFileConsecutive

Class Documentation

template<typename T>
class MPIFileConsecutive

Public Functions

MPIFileConsecutive(const MPIFileConsecutive&) = delete
MPIFileConsecutive &operator=(const MPIFileConsecutive&) = delete
inline MPIFileConsecutive(MPIFileConsecutive &&other)
inline MPIFileConsecutive &operator=(MPIFileConsecutive &&other)
inline ~MPIFileConsecutive()
inline int writeValuesToFileAtPosition(const T *valuesStart, MPI_Offset numValues, MPI_Offset position)
inline int readValuesFromFileAtPosition(T *valuesStart, MPI_Offset numValues, MPI_Offset position)
inline int readValuesFromFileAtPositionSingleRank(T *valuesStart, MPI_Offset numValues, MPI_Offset position) const
inline bool checkFileSizeConsecutive(MPI_Offset myNumValues, CommunicatorType comm) const

Public Static Functions

static inline MPIFileConsecutive getFileToWrite(const std::string &fileName, combigrid::CommunicatorType comm, bool replaceExistingFile, bool withCollectiveBuffering, bool writeOnce = true)
static inline MPIFileConsecutive getFileToRead(const std::string &fileName, combigrid::CommunicatorType comm, bool withCollectiveBuffering, bool readOnce)