1. Accelerate_flow kernel