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

This commit is contained in:
sjplimp
2011-03-25 21:13:51 +00:00
parent e3cf018311
commit fbb475b9cd
149 changed files with 1402 additions and 1660 deletions

View File

@ -141,8 +141,8 @@ FixTMD::~FixTMD()
// delete locally stored arrays
memory->destroy_2d_double_array(xf);
memory->destroy_2d_double_array(xold);
memory->destroy(xf);
memory->destroy(xold);
}
/* ---------------------------------------------------------------------- */
@ -350,8 +350,8 @@ double FixTMD::memory_usage()
void FixTMD::grow_arrays(int nmax)
{
xf = memory->grow_2d_double_array(xf,nmax,3,"fix_tmd:xf");
xold = memory->grow_2d_double_array(xold,nmax,3,"fix_tmd:xold");
memory->grow(xf,nmax,3,"fix_tmd:xf");
memory->grow(xold,nmax,3,"fix_tmd:xold");
}
/* ----------------------------------------------------------------------