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

This commit is contained in:
sjplimp
2014-01-30 21:34:55 +00:00
parent 15a48a27b5
commit 19252df8ad
3 changed files with 8 additions and 8 deletions

View File

@ -162,6 +162,7 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp)
tag_enable = 1;
map_style = map_user = 0;
map_tag_max = 0;
map_maxarray = 0;
map_nhash = 0;
max_same = 0;
@ -1848,7 +1849,7 @@ bigint Atom::memory_usage()
bytes += max_same*sizeof(int);
if (map_style == 1)
bytes += memory->usage(map_array,max_array);
bytes += memory->usage(map_array,map_maxarray);
else if (map_style == 2) {
bytes += map_nbucket*sizeof(int);
bytes += map_nhash*sizeof(HashElem);