add a creator: tag to the YAML dump that allows to tell it apart
This commit is contained in:
@ -77,7 +77,7 @@ void DumpYAML::write_header(bigint ndump)
|
|||||||
|
|
||||||
if (comm->me == 0) {
|
if (comm->me == 0) {
|
||||||
const std::string boundary(boundstr);
|
const std::string boundary(boundstr);
|
||||||
fmt::print(fp, "---\ntimestep: {}\n", update->ntimestep);
|
fmt::print(fp, "---\ncreator: LAMMPS\ntimestep: {}\n", update->ntimestep);
|
||||||
if (unit_flag) fmt::print(fp, "units: {}\n", update->unit_style);
|
if (unit_flag) fmt::print(fp, "units: {}\n", update->unit_style);
|
||||||
if (time_flag) fmt::print(fp, "time: {:.16g}\n", compute_time());
|
if (time_flag) fmt::print(fp, "time: {:.16g}\n", compute_time());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user