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