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

This commit is contained in:
sjplimp
2010-04-21 22:41:57 +00:00
parent b0dddfd651
commit 88b5cb797c
3 changed files with 136 additions and 10 deletions

View File

@ -791,6 +791,8 @@ void FixMove::final_integrate_respa(int ilevel, int iloop)
double FixMove::memory_usage()
{
double bytes = atom->nmax*3 * sizeof(double);
if (displaceflag) bytes += atom->nmax*3 * sizeof(double);
if (velocityflag) bytes += atom->nmax*3 * sizeof(double);
return bytes;
}