Application of a direct method for solving the Boltzmann equation in supersonic flow computation