git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@951 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -103,9 +103,9 @@ void DumpDCD::init()
|
||||
return # of bytes of allocated memory in buf and global coords array
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
int DumpDCD::memory_usage()
|
||||
double DumpDCD::memory_usage()
|
||||
{
|
||||
int bytes = maxbuf * sizeof(double);
|
||||
double bytes = maxbuf * sizeof(double);
|
||||
bytes += 3*natoms * sizeof(float);
|
||||
return bytes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user