git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10311 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2013-07-23 19:06:11 +00:00
parent cb7f385d43
commit 87d674ca21
3 changed files with 8 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Force::Force(LAMMPS *lmp) : Pointers(lmp)
kspace_style = new char[n];
strcpy(kspace_style,str);
// fill pair map with fixes listed in style_pair.h
// fill pair map with pair styles listed in style_pair.h
pair_map = new std::map<std::string,PairCreator>();
@ -103,6 +103,8 @@ Force::~Force()
if (dihedral) delete dihedral;
if (improper) delete improper;
if (kspace) delete kspace;
delete pair_map;
}
/* ---------------------------------------------------------------------- */

View File

@ -130,6 +130,8 @@ Input::~Input()
memory->sfree(arg);
memory->sfree(infiles);
delete variable;
delete command_map;
}
/* ----------------------------------------------------------------------

View File

@ -136,6 +136,9 @@ Modify::~Modify()
delete [] list_timeflag;
restart_deallocate();
delete compute_map;
delete fix_map;
}
/* ----------------------------------------------------------------------