enable write_data functionality for more dihedral styles

This commit is contained in:
Axel Kohlmeyer
2019-03-19 12:10:30 -04:00
parent e87e215bcc
commit 487671c46b
6 changed files with 20 additions and 6 deletions

View File

@ -39,7 +39,10 @@ using namespace MathConst;
/* ---------------------------------------------------------------------- */
DihedralHelix::DihedralHelix(LAMMPS *lmp) : Dihedral(lmp) {}
DihedralHelix::DihedralHelix(LAMMPS *lmp) : Dihedral(lmp)
{
writedata = 1;
}
/* ---------------------------------------------------------------------- */

View File

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

View File

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

View File

@ -35,7 +35,8 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
DihedralNHarmonic::DihedralNHarmonic(LAMMPS *lmp) : Dihedral(lmp) {
DihedralNHarmonic::DihedralNHarmonic(LAMMPS *lmp) : Dihedral(lmp)
{
writedata = 1;
}

View File

@ -38,7 +38,10 @@ using namespace MathConst;
/* ---------------------------------------------------------------------- */
DihedralQuadratic::DihedralQuadratic(LAMMPS *lmp) : Dihedral(lmp) {}
DihedralQuadratic::DihedralQuadratic(LAMMPS *lmp) : Dihedral(lmp)
{
writedata = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -41,7 +41,8 @@ using namespace MathExtra;
/* ---------------------------------------------------------------------- */
DihedralSpherical::DihedralSpherical(LAMMPS *lmp) : Dihedral(lmp) {
DihedralSpherical::DihedralSpherical(LAMMPS *lmp) : Dihedral(lmp)
{
writedata = 1;
}