Add atom_map hash option for Kokkos package

This commit is contained in:
Stan Gerald Moore
2021-06-28 08:38:31 -06:00
parent ddc596170e
commit a4c2bc13cf
11 changed files with 487 additions and 107 deletions

View File

@ -309,7 +309,7 @@ int Atom::map_style_set()
if (map_user == MAP_ARRAY || map_user == MAP_HASH) {
map_style = map_user;
} else { // map_user == MAP_YES
if (map_tag_max > 1000000 && !lmp->kokkos) map_style = MAP_HASH;
if (map_tag_max > 1000000) map_style = MAP_HASH;
else map_style = MAP_ARRAY;
}