Viscous-inviscid interaction, partitioned dynamical systems and i(n)te(g)ration