Phase diagrams of Heusler alloys with inversion of the exchange interaction