1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

Switched to Hdf5 format for perambulators. Ready for first test on Tesseract.

This commit is contained in:
Michael Marshall
2019-04-28 17:53:42 +01:00
parent 5aca4e8670
commit adc1eaee68
5 changed files with 179 additions and 63 deletions

View File

@ -238,9 +238,11 @@ void TPerambFromSolve<FImpl>::execute(void)
}
}
if(PerambFileName.length())
perambulator.WriteBinary(PerambFileName + "." + std::to_string(vm().getTrajectory()));
if(PerambFileName.length()) {
std::string sPerambName{PerambFileName + "." + std::to_string(vm().getTrajectory())};
//perambulator.WriteBinary(sPerambName);
perambulator.template write<Hdf5Writer>((sPerambName + ".h5").c_str(), sPerambName.c_str());
}
}
END_MODULE_NAMESPACE