A barrier method for frictional contact on embedded interfaces