Commit JT 082318
- corrected memory errors in pppm_dipole and pppm_dipole_spin - created fm_long in atom_vec_spin - fm_long added to fm in initial_integrate (in ComputeInteractionsSpin)
This commit is contained in:
@ -98,7 +98,7 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp)
|
||||
|
||||
// SPIN package
|
||||
|
||||
sp = fm = NULL;
|
||||
sp = fm = fm_long = NULL;
|
||||
|
||||
// USER-DPD
|
||||
|
||||
@ -277,6 +277,7 @@ Atom::~Atom()
|
||||
|
||||
memory->destroy(sp);
|
||||
memory->destroy(fm);
|
||||
memory->destroy(fm_long);
|
||||
|
||||
memory->destroy(vfrac);
|
||||
memory->destroy(s0);
|
||||
|
||||
Reference in New Issue
Block a user