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.

This commit is contained in:
Stan Moore
2017-10-05 15:47:46 -06:00
parent 44d2e8ff74
commit e0efdd50fa

View File

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