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;
}
/* ---------------------------------------------------------------------- */