From 37849c807e75676918f24dc0bc687990f1a9c832 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 11 Jan 2013 16:21:02 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9259 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/comm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comm.cpp b/src/comm.cpp index 49dfbaec57..45eefcec2b 100644 --- a/src/comm.cpp +++ b/src/comm.cpp @@ -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);