Commit 590f3175 authored by Dan Ibanez's avatar Dan Ibanez
Browse files

fix_momentum_kokkos: don't override init()

parent c7ac9e79
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -46,16 +46,6 @@ FixMomentumKokkos<DeviceType>::FixMomentumKokkos(LAMMPS *lmp, int narg, char **a

/* ---------------------------------------------------------------------- */

template<class DeviceType>
void FixMomentumKokkos<DeviceType>::init()
{
//this is done in FixMomentum::init(), but will need to change
//once Group is ported to Kokkos
//masstotal = group->mass(igroup);
}

/* ---------------------------------------------------------------------- */

template<class DeviceType>
double FixMomentumKokkos<DeviceType>::get_kinetic_energy(
    int nlocal,
+0 −1
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ class FixMomentumKokkos : public FixMomentum {
  typedef ArrayTypes<DeviceType> AT;

  FixMomentumKokkos(class LAMMPS *, int, char **);
  void init();
  void end_of_step();

 private: