Definition and Thermodynamic study of glass