small tweak

This commit is contained in:
Axel Kohlmeyer
2022-06-01 02:13:02 -04:00
parent 234b9f180a
commit 5abb6c76af

View File

@ -203,9 +203,8 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
// run_stress, if enabled // run_stress, if enabled
if (fix->thermo_virial) { if (fix->thermo_virial) {
auto stress = fix->virial; auto stress = fix->virial;
block = fmt::format("{:23.16e} {:23.16e} {:23.16e} " block = fmt::format("{:23.16e} {:23.16e} {:23.16e} {:23.16e} {:23.16e} {:23.16e}",
"{:23.16e} {:23.16e} {:23.16e}", stress[0], stress[1], stress[2], stress[3], stress[4], stress[5]);
stress[0], stress[1], stress[2], stress[3], stress[4], stress[5]);
writer.emit_block("run_stress", block); writer.emit_block("run_stress", block);
} }