Skip to content
Snippets Groups Projects
Commit 5c927d48 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add missing atom->delete_callback()

parent a9f8b17c
No related branches found
No related tags found
No related merge requests found
......@@ -205,6 +205,8 @@ FixHyperLocal::~FixHyperLocal()
memory->destroy(bonds);
memory->destroy(numbond);
atom->delete_callback(id,0);
memory->destroy(maxstrain);
memory->destroy(maxstrain_region);
memory->destroy(maxstrain_bondindex);
......
......@@ -136,6 +136,9 @@ FixFFL::FixFFL(LAMMPS *lmp, int narg, char **arg) :
FixFFL::~FixFFL() {
delete random;
atom->delete_callback(id,0);
atom->delete_callback(id,1);
memory->destroy(sqrt_m);
memory->destroy(ffl_tmp1);
memory->destroy(ffl_tmp2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment