A homologous ductile failure criterion for generalized stress states