8 #include "CheckpointEntryRandState.hpp" 9 #include "io/randomstateio.hpp" 13 void CheckpointEntryRandState::write(
14 std::string
const &checkpointDirectory,
16 bool verifyWritesFlag)
const {
17 std::string path = generatePath(checkpointDirectory,
"pvp");
19 path, getMPIBlock(), mDataPointer, mLayerLoc, mExtendedFlag, simTime, verifyWritesFlag);
22 void CheckpointEntryRandState::read(std::string
const &checkpointDirectory,
double *simTimePtr)
24 std::string path = generatePath(checkpointDirectory,
"pvp");
25 *simTimePtr = readRandState(path, getMPIBlock(), mDataPointer, mLayerLoc, mExtendedFlag);
28 void CheckpointEntryRandState::remove(std::string
const &checkpointDirectory)
const {
29 deleteFile(checkpointDirectory,
"bin");