On the Calculation of Laminar and Turbulent Boundary Layers on Longitudinally Curved Surfaces