On the discrete analysis of the jointed rock media.