Mechanics of Cohesive-frictional Materials