Effects of orientation, frequency, and number of sets of discontinuities on rock strength under triaxial stresses