Skip to content
Snippets Groups Projects
Commit 34e5eed8 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11001 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 6552d599
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment