Thermodynamic effects on ion-beam mixing in SiC–metal systems