small tweak
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user