Explicit finite-difference methods in geomechanics