|
ESyS-Particle
2.3.4
|
#include <CheckPointParams.h>

Public Member Functions | |
| CheckPointParams (const std::string &fileNamePrefix, int time, int rank, int prec) | |
| ~CheckPointParams () | |
| std::string | getFileName () const |
| int | getPrecision () const |
| void | packInto (AMPIBuffer *mpiBuff) const |
Static Public Member Functions | |
| static CheckPointParams | unpackFrom (AMPIBuffer *mpiBuff, MPI_Comm mpiComm=MPI_COMM_WORLD) |
Protected Member Functions | |
| CheckPointParams () | |
Private Attributes | |
| std::string | m_fileNamePrefix |
| int | m_time |
| int | m_rank |
| int | m_prec |
Parameters associated with check-point file creation.
| CheckPointParams::CheckPointParams | ( | const std::string & | fileNamePrefix, |
| int | time, | ||
| int | rank, | ||
| int | prec | ||
| ) |
| CheckPointParams::~CheckPointParams | ( | ) |
|
protected |
| std::string CheckPointParams::getFileName | ( | ) | const |
Returns full check-point file (prefix plus time and rank identifier).
References m_fileNamePrefix, m_rank, and m_time.
Referenced by CheckPointController::getLatticeDataFileName(), CheckPointController::issueCheckPointCmd(), CheckPointController::issueCheckPointCmdWTM(), CheckPointController::issueSnapShotCmd(), CheckPointer::loadCheckPoint(), CheckPointer::saveDump(), and CheckPointer::saveRestartable().

|
inline |
References m_prec.
Referenced by CheckPointer::saveRestartable().

| void CheckPointParams::packInto | ( | AMPIBuffer * | mpiBuff | ) | const |
References AMPIBuffer::append(), m_fileNamePrefix, m_prec, and m_time.
Referenced by CheckPointController::issueCheckPointCmd(), CheckPointController::issueCheckPointCmdWTM(), CheckPointController::issueCheckPointLoadingCmd(), and CheckPointController::issueSnapShotCmd().


|
static |
References m_fileNamePrefix, m_prec, m_rank, m_time, AMPIBuffer::pop_int(), AMPIBuffer::pop_string(), and MpiInfo::rank().
Referenced by CheckPointer::loadCheckPoint(), CheckPointer::saveDump(), CheckPointer::saveRestartable(), and CheckPointer::saveThroughMaster().


|
private |
Prefix of check-point file names.
Referenced by getFileName(), packInto(), and unpackFrom().
|
private |
Referenced by getPrecision(), packInto(), and unpackFrom().
|
private |
Rank of mpi process.
Referenced by getFileName(), and unpackFrom().
|
private |
The simulation time at which checkpoint is created.
Referenced by getFileName(), packInto(), and unpackFrom().