Classical and Relativistic Rational Extended Thermodynamics of Gases