A method for the study of crack propagation in rock structures