A global algorithm: In the numerical resolution of the viscous/inviscid coupled problem