Title: A unified finite element solution to static and dynamic problems of geomechanics