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

This commit is contained in:
sjplimp
2014-04-08 17:35:21 +00:00
parent bf03a003f8
commit fafdfbf5fe
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,7 @@ void Atom::map_init(int check)
// check for new map style if max atomID changed (check = 1 = default)
// recreate = 1 if must delete old map and create new map
// recreate = 0 if can re-use old map w/out realloc and just adjust settings
// map_maxarray/map_nhash initially -1, to force recreate even when no atoms
int recreate = 0;
if (check) recreate = map_style_set();