add missing writedata=1 setting in constructor

This commit is contained in:
Axel Kohlmeyer
2021-02-24 20:41:53 -05:00
parent 8f3675344f
commit 785e1ca9f5
2 changed files with 8 additions and 2 deletions

View File

@ -27,7 +27,10 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
DihedralZero::DihedralZero(LAMMPS *lmp) : Dihedral(lmp), coeffflag(1) {}
DihedralZero::DihedralZero(LAMMPS *lmp) : Dihedral(lmp), coeffflag(1)
{
writedata = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -27,7 +27,10 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
ImproperZero::ImproperZero(LAMMPS *lmp) : Improper(lmp), coeffflag(1) {}
ImproperZero::ImproperZero(LAMMPS *lmp) : Improper(lmp), coeffflag(1)
{
writedata = 1;
}
/* ---------------------------------------------------------------------- */