consistently return "memory_usage" as double.

This commit is contained in:
Axel Kohlmeyer
2020-09-14 21:38:52 -04:00
parent 101d39142e
commit 0183e999c9
81 changed files with 131 additions and 131 deletions

View File

@ -310,9 +310,9 @@ int DumpXTC::modify_param(int narg, char **arg)
return # of bytes of allocated memory in buf and global coords array
------------------------------------------------------------------------- */
bigint DumpXTC::memory_usage()
double DumpXTC::memory_usage()
{
bigint bytes = Dump::memory_usage();
double bytes = Dump::memory_usage();
bytes += memory->usage(coords,natoms*3);
return bytes;
}

View File

@ -45,7 +45,7 @@ class DumpXTC : public Dump {
void write_header(bigint);
void pack(tagint *);
void write_data(int, double *);
bigint memory_usage();
double memory_usage();
void write_frame();
};