consistently return "memory_usage" as double.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user