git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11001 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -268,10 +268,13 @@ bigint NeighList::memory_usage()
|
||||
bytes += maxatoms * sizeof(int *);
|
||||
|
||||
int nmypage = comm->nthreads;
|
||||
for (int i = 0; i < nmypage; i++)
|
||||
bytes += ipage[i].size();
|
||||
|
||||
if (dnum) {
|
||||
|
||||
if (ipage) {
|
||||
for (int i = 0; i < nmypage; i++)
|
||||
bytes += ipage[i].size();
|
||||
}
|
||||
|
||||
if (dnum && dpage) {
|
||||
for (int i = 0; i < nmypage; i++) {
|
||||
bytes += maxatoms * sizeof(double *);
|
||||
bytes += dpage[i].size();
|
||||
|
||||
Reference in New Issue
Block a user