Numerical analysis of a two-pion correlation function based on a hydrodynamical model