The thermodynamic structure of Einstein tensor