Unverified Commit a42365bf authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add support enforce writing a data file with pair ij as required by sdk styles

parent 1d539ea7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -130,8 +130,9 @@ LAMMPS *init_lammps(int argc, char **argv, const TestConfig &cfg, const bool new
    }

    command("run 0 post no");
    command("variable write_data_pair index ii");
    command("write_restart " + cfg.basename + ".restart");
    command("write_data " + cfg.basename + ".data");
    command("write_data " + cfg.basename + ".data pair ${write_data_pair}");
    command("write_coeff " + cfg.basename + "-coeffs.in");

    return lmp;