Analysis of faulting in three-dimensional strain field