Mechanical EOS with reference curve and heat capacity

type name
mechtherm
parameters
equation_of_state
reference_temperature
reference_energy
specific_heat_capacity

where the equation of state is any EOS form, and the the reference temperature and energy and specific heat capacity are any Realfunction1ds of density. (The reference curve is defined here as the variation of specific internal energy and temperature with density.)

For temperatures with respect to a reference isotherm, the temperature is (of course) independent of density, e.g.

   constant 293.0

N.B. The initial state must be supplied once for the equation of state embedded in the data, and again for the mechanical/thermal equation of state itself. This is a consequence of the class structure used.