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

This commit is contained in:
sjplimp
2009-12-21 21:21:22 +00:00
parent 87ba3c6eff
commit 4900c3d0c0
14 changed files with 57 additions and 66 deletions

View File

@ -180,7 +180,7 @@ void ComputeGyrationMolecule::compute_vector()
double ComputeGyrationMolecule::memory_usage()
{
double bytes = 4*nmolecules * sizeof(double);
if (molmap) bytes += nmolecules * sizeof(int);
if (molmap) bytes += (idhi-idlo+1) * sizeof(int);
bytes += 2*nmolecules*3 * sizeof(double);
return bytes;
}