Small tweaks
This commit is contained in:
committed by
Axel Kohlmeyer
parent
4a0a98a0fd
commit
6b6a47bd3c
@ -88,7 +88,7 @@ void FixSetForceKokkos<DeviceType>::post_force(int /*vflag*/)
|
||||
|
||||
if (region) {
|
||||
if (!utils::strmatch(region->style, "^block"))
|
||||
error->all(FLERR,"Cannot (yet) use {}-style region with fix setforce/kk",style);
|
||||
error->all(FLERR,"Cannot (yet) use {}-style region with fix setforce/kk",region->style);
|
||||
region->prematch();
|
||||
DAT::tdual_int_1d k_match = DAT::tdual_int_1d("setforce:k_match",nlocal);
|
||||
KokkosBase* regionKKBase = dynamic_cast<KokkosBase*>(region);
|
||||
|
||||
@ -48,7 +48,7 @@ void RegBlockKokkos<DeviceType>::match_all_kokkos(int groupbit_in, DAT::tdual_in
|
||||
groupbit = groupbit_in;
|
||||
d_match = k_match_in.template view<DeviceType>();
|
||||
|
||||
auto execution_space = ExecutionSpaceFromDevice<DeviceType>::space;
|
||||
auto execution_space = ExecutionSpaceFromDevice<DeviceType>::space;
|
||||
atomKK->sync(execution_space, X_MASK | MASK_MASK);
|
||||
|
||||
x = atomKK->k_x.view<DeviceType>();
|
||||
|
||||
Reference in New Issue
Block a user