Discrete sensitivity analysis of cylinder flows