- Thermodynamic model, in our case hConstThermo, handles specific heat capacity . In this specific case it is simple, because is constant, but other alternative allow for more complicated behavior.
- Inheritance diagram can be seen in the figure . As in a previous case, it inherits from its template parameter. This time however, there are more alternatives for class representing equation of state, so the construction is not for future extensibility, but is already necessary for hConstThermo to be able to accommodate for different equations of state.
- Possible choices of thermodynamic models are following:
Source code for all classes representing different thermodynamical models can be found found in
in subdirectories named after respective thermophysical models, eg.
Figure: hConstThermo inheritance diagram