Recent advances in the alternating method for elastic and inelastic fracture analyses