Add missing copymode to parent classes

This commit is contained in:
Stan Gerald Moore
2021-05-14 10:08:05 -06:00
parent eedd726edb
commit 5a7e784447
9 changed files with 20 additions and 0 deletions

View File

@ -36,6 +36,8 @@ PairCoulCut::PairCoulCut(LAMMPS *lmp) : Pair(lmp) {
PairCoulCut::~PairCoulCut()
{
if (copymode) return;
if (allocated) {
memory->destroy(setflag);
memory->destroy(cutsq);