Revert changes to pair lubricate base class

This commit is contained in:
Stan Moore
2024-10-03 15:59:27 -06:00
parent d6562b7514
commit a26c81d73b
3 changed files with 2 additions and 4 deletions

View File

@ -54,7 +54,7 @@ PairBrownian::PairBrownian(LAMMPS *lmp) : Pair(lmp)
PairBrownian::~PairBrownian()
{
if(copymode) return;
if (copymode) return;
if (allocated) {
memory->destroy(setflag);

View File

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

View File

@ -56,7 +56,7 @@ class PairLubricate : public Pair {
double R0, RT0, RS0;
double **cut_inner, **cut;
virtual void allocate();
void allocate();
};
} // namespace LAMMPS_NS