Solid-State Phase Equilibria of the Mg-Gd-Nd System at 500 °C