Add dump atom zstd tests

This commit is contained in:
Richard Berger
2020-08-26 16:35:35 -04:00
parent 007a43a5b2
commit 78a1b92503
3 changed files with 285 additions and 2 deletions

View File

@ -129,11 +129,11 @@ void DumpAtomZstd::write_header(bigint ndump)
if ((multiproc) || (!multiproc && me == 0)) {
if (unit_flag && !unit_count) {
++unit_count;
header = fmt::format("ITEM: UNITS\n%s\n",update->unit_style);
header = fmt::format("ITEM: UNITS\n{}\n",update->unit_style);
}
if (time_flag) {
header += fmt::format("ITEM: TIME\n%.16g\n", compute_time());
header += fmt::format("ITEM: TIME\n{0:.16g}\n", compute_time());
}
header += fmt::format("ITEM: TIMESTEP\n{}\n", update->ntimestep);