From 5760c59d83c32d24dfe88c20c9e51220f819018c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 10 May 2022 08:31:02 -0400 Subject: [PATCH] add a creator: tag to the YAML dump that allows to tell it apart --- src/EXTRA-DUMP/dump_yaml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EXTRA-DUMP/dump_yaml.cpp b/src/EXTRA-DUMP/dump_yaml.cpp index d6bf27885d..d4f3208ffb 100644 --- a/src/EXTRA-DUMP/dump_yaml.cpp +++ b/src/EXTRA-DUMP/dump_yaml.cpp @@ -77,7 +77,7 @@ void DumpYAML::write_header(bigint ndump) if (comm->me == 0) { 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 (time_flag) fmt::print(fp, "time: {:.16g}\n", compute_time());