git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10311 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -74,7 +74,7 @@ Force::Force(LAMMPS *lmp) : Pointers(lmp)
|
|||||||
kspace_style = new char[n];
|
kspace_style = new char[n];
|
||||||
strcpy(kspace_style,str);
|
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>();
|
pair_map = new std::map<std::string,PairCreator>();
|
||||||
|
|
||||||
@ -103,6 +103,8 @@ Force::~Force()
|
|||||||
if (dihedral) delete dihedral;
|
if (dihedral) delete dihedral;
|
||||||
if (improper) delete improper;
|
if (improper) delete improper;
|
||||||
if (kspace) delete kspace;
|
if (kspace) delete kspace;
|
||||||
|
|
||||||
|
delete pair_map;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|||||||
@ -130,6 +130,8 @@ Input::~Input()
|
|||||||
memory->sfree(arg);
|
memory->sfree(arg);
|
||||||
memory->sfree(infiles);
|
memory->sfree(infiles);
|
||||||
delete variable;
|
delete variable;
|
||||||
|
|
||||||
|
delete command_map;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|||||||
@ -136,6 +136,9 @@ Modify::~Modify()
|
|||||||
delete [] list_timeflag;
|
delete [] list_timeflag;
|
||||||
|
|
||||||
restart_deallocate();
|
restart_deallocate();
|
||||||
|
|
||||||
|
delete compute_map;
|
||||||
|
delete fix_map;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user