Small tweaks

This commit is contained in:
Stan Moore
2023-01-25 11:51:35 -07:00
committed by Axel Kohlmeyer
parent 4a0a98a0fd
commit 6b6a47bd3c
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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>();