forked from lijiext/lammps
Kokkos doesn't yet support map_style hash, so use may_style array by default if Kokkos is enabled
This commit is contained in:
parent
e3e040227b
commit
142de878f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue