git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@951 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -414,9 +414,9 @@ void Force::bounds(char *str, int nmax, int &nlo, int &nhi)
|
||||
memory usage of force classes
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
int Force::memory_usage()
|
||||
double Force::memory_usage()
|
||||
{
|
||||
int bytes = 0;
|
||||
double bytes = 0.0;
|
||||
if (pair) bytes += pair->memory_usage();
|
||||
if (bond) bytes += bond->memory_usage();
|
||||
if (angle) bytes += angle->memory_usage();
|
||||
|
||||
Reference in New Issue
Block a user