diff --git a/src/integrate.c b/src/integrate.c index 886d1d4f36e..40400d939a5 100644 --- a/src/integrate.c +++ b/src/integrate.c @@ -553,6 +553,10 @@ ghost_communicator(&cell_structure.collect_ghost_force_comm); correct_vel_shake(); #endif +#ifdef ROTATION + convert_torques_propagate_omega(); +#endif + //VIRTUAL_SITES update vel #ifdef VIRTUAL_SITES ghost_communicator(&cell_structure.update_ghost_pos_comm); @@ -566,9 +570,6 @@ ghost_communicator(&cell_structure.collect_ghost_force_comm); } #endif -#ifdef ROTATION - convert_torques_propagate_omega(); -#endif #ifdef NPT if((this_node==0) && (integ_switch == INTEG_METHOD_NPT_ISO)) nptiso.p_inst_av += nptiso.p_inst;