Commit e908b8db authored by Tim Mattox's avatar Tim Mattox
Browse files

USER-DPD Kokkos: correct some error messages

parent d6f6c6fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ void PairDPDfdtEnergyKokkos<DeviceType>::init_style()
    neighbor->requests[irequest]->full = 0;
    neighbor->requests[irequest]->half = 1;
  } else {
    error->all(FLERR,"Cannot use chosen neighbor list style with reax/c/kk");
    error->all(FLERR,"Cannot use chosen neighbor list style with dpd/fdt/energy/kk");
  }

#ifdef DPD_USE_RAN_MARS
@@ -139,7 +139,7 @@ void PairDPDfdtEnergyKokkos<Kokkos::Cuda>::init_style()
    neighbor->requests[irequest]->full = 0;
    neighbor->requests[irequest]->half = 1;
  } else {
    error->all(FLERR,"Cannot use chosen neighbor list style with reax/c/kk");
    error->all(FLERR,"Cannot use chosen neighbor list style with dpd/fdt/energy/kk");
  }

#ifdef DPD_USE_RAN_MARS
+2 −2
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ void PairExp6rxKokkos<DeviceType>::init_style()
    neighbor->requests[irequest]->full = 0;
    neighbor->requests[irequest]->half = 1;
  } else {
    error->all(FLERR,"Cannot use chosen neighbor list style with reax/c/kk");
    error->all(FLERR,"Cannot use chosen neighbor list style with exp6/rx/kk");
  }
}