Update fix_efield_kokkos.cpp
This commit is contained in:
@ -106,7 +106,7 @@ void FixEfieldKokkos<DeviceType>::post_force(int vflag)
|
||||
// update region if necessary
|
||||
|
||||
if (region) {
|
||||
if (!utils::strmatch(region->style, "^block"))
|
||||
if (!(utils::strmatch(region->style, "^block") || utils::strmatch(region->style, "^sphere")))
|
||||
error->all(FLERR,"Cannot (yet) use {}-style region with fix efield/kk",region->style);
|
||||
region->prematch();
|
||||
DAT::tdual_int_1d k_match = DAT::tdual_int_1d("efield:k_match",nlocal);
|
||||
|
||||
Reference in New Issue
Block a user