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

This commit is contained in:
sjplimp 2013-01-11 16:21:02 +00:00
parent e66eccef5f
commit 37849c807e
1 changed files with 1 additions and 0 deletions

View File

@ -1665,6 +1665,7 @@ void Comm::set_processors(int narg, char **arg)
bigint Comm::memory_usage()
{
bigint bytes = 0;
bytes += nprocs * sizeof(int); // grid2proc
for (int i = 0; i < nswap; i++)
bytes += memory->usage(sendlist[i],maxsendlist[i]);
bytes += memory->usage(buf_send,maxsend+BUFEXTRA);