git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13055 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -69,6 +69,7 @@ PairEAM::PairEAM(LAMMPS *lmp) : Pair(lmp)
|
||||
|
||||
PairEAM::~PairEAM()
|
||||
{
|
||||
if (!copymode) {
|
||||
memory->destroy(rho);
|
||||
memory->destroy(fp);
|
||||
|
||||
@ -118,6 +119,7 @@ PairEAM::~PairEAM()
|
||||
memory->destroy(frho_spline);
|
||||
memory->destroy(rhor_spline);
|
||||
memory->destroy(z2r_spline);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -25,6 +25,7 @@ PairStyle(eam,PairEAM)
|
||||
|
||||
namespace LAMMPS_NS {
|
||||
|
||||
|
||||
class PairEAM : public Pair {
|
||||
public:
|
||||
friend class FixSemiGrandCanonicalMC; // Alex Stukowski option
|
||||
@ -100,8 +101,8 @@ class PairEAM : public Pair {
|
||||
};
|
||||
Fs *fs;
|
||||
|
||||
void allocate();
|
||||
void array2spline();
|
||||
virtual void allocate();
|
||||
virtual void array2spline();
|
||||
void interpolate(int, double, double *, double **);
|
||||
void grab(FILE *, int, double *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user