Revert changes to pair lubricate base class
This commit is contained in:
@ -54,7 +54,7 @@ PairBrownian::PairBrownian(LAMMPS *lmp) : Pair(lmp)
|
||||
|
||||
PairBrownian::~PairBrownian()
|
||||
{
|
||||
if(copymode) return;
|
||||
if (copymode) return;
|
||||
|
||||
if (allocated) {
|
||||
memory->destroy(setflag);
|
||||
|
||||
@ -56,8 +56,6 @@ PairLubricate::PairLubricate(LAMMPS *lmp) : Pair(lmp)
|
||||
|
||||
PairLubricate::~PairLubricate()
|
||||
{
|
||||
if (copymode) return;
|
||||
|
||||
if (allocated) {
|
||||
memory->destroy(setflag);
|
||||
memory->destroy(cutsq);
|
||||
|
||||
@ -56,7 +56,7 @@ class PairLubricate : public Pair {
|
||||
double R0, RT0, RS0;
|
||||
double **cut_inner, **cut;
|
||||
|
||||
virtual void allocate();
|
||||
void allocate();
|
||||
};
|
||||
|
||||
} // namespace LAMMPS_NS
|
||||
|
||||
Reference in New Issue
Block a user