Kokkos doesn't yet support map_style hash, so use may_style array by default if Kokkos is enabled

This commit is contained in:
Stan Moore 2018-06-08 09:38:16 -06:00
parent e3e040227b
commit 142de878f9
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ int Atom::map_style_set()
int map_style_old = map_style;
if (map_user == 1 || map_user == 2) map_style = map_user;
else if (map_tag_max > 1000000) map_style = 2;
else if (map_tag_max > 1000000 && !lmp->kokkos) map_style = 2;
else map_style = 1;
// recreate = 1 if must create new map b/c map_style changed