Calculation of the solid-liquid interfacial tension in metallic ternary systems