A calculation method for the three-dimensional boundary-layer equations in integral form