The structure, elastic and thermodynamic properties of Ti2GaC from first-principles calculation