Second-order cone interior-point method for quasistatic and moderate dynamic cohesive fracture