mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-13 04:37:05 +01:00
Making sure Hdf5 is an optional dependency (default to binary writer if not present)
This commit is contained in:
@ -241,7 +241,7 @@ void TPerambFromSolve<FImpl>::execute(void)
|
||||
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());
|
||||
perambulator.write(sPerambName.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -289,7 +289,7 @@ void TPerambulator<FImpl>::execute(void)
|
||||
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());
|
||||
perambulator.write(sPerambName.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user