triclinic member variable is referenced in destructor and thus must be initialized in constructor

This commit is contained in:
Axel Kohlmeyer 2017-05-30 07:41:01 -04:00
parent d93938f7e1
commit 4b8d2e829c
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ PPPM::PPPM(LAMMPS *lmp, int narg, char **arg) : KSpace(lmp, narg, arg),
pppmflag = 1;
group_group_enable = 1;
triclinic = domain->triclinic;
accuracy_relative = fabs(force->numeric(FLERR,arg[0]));