Commit e0efdd50 authored by Stan Moore's avatar Stan Moore
Browse files

Switch to classic comm if ghost_velocity. The check_forward and check_reverse...

Switch to classic comm if ghost_velocity. The check_forward and check_reverse tests aren't necessary because the fix/pair/etc. comm is done in a separate routine.
parent 44d2e8ff
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -135,10 +135,9 @@ void CommKokkos::init()
  if (force->newton == 0) check_reverse = 0;
  if (force->pair) check_reverse += force->pair->comm_reverse_off;

  //if (check_forward)
  //  forward_comm_classic = true;
  if (ghost_velocity)
    forward_comm_classic = true;

  //if (check_reverse || !comm_f_only) // not all Kokkos atom_vec styles have reverse pack/unpack routines yet
  if (!comm_f_only) // not all Kokkos atom_vec styles have reverse pack/unpack routines yet
    reverse_comm_classic = true;
}