forked from lijiext/lammps
add support enforce writing a data file with pair ij as required by sdk styles
This commit is contained in:
parent
1d539ea787
commit
a42365bf90
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue