Making sure Hdf5 is an optional dependency (default to binary writer if not present)

This commit is contained in:
Michael Marshall committed 2019-04-28 20:23:44 +01:00
1 parent adc1eaee68
commit fb74de0798
5 files changed
+51 -35

No files matched your search

+1 -1
View File
@@ -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());
}
}
+1 -1
View File
@@ -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());
}
}