Numerical integration of a linear barotropic model using three methods of treating meteorological and gravitational modes separately