Right now, we don't have complete consistency in the API between these two classes, even though the intent is that they be used interchangeably. For example, cv(), cp(), cv_el(), and probably more, are missing from IdealGasMicroThermo but are present in StatMechThermodynamics.
I'm thinking we introduce a MicroThermoBase CRTP base class and have each of IdealGasMicroThermo and StatMechThermodynamics appropriately subclass.
Right now, we don't have complete consistency in the API between these two classes, even though the intent is that they be used interchangeably. For example, cv(), cp(), cv_el(), and probably more, are missing from
IdealGasMicroThermo
but are present inStatMechThermodynamics
.I'm thinking we introduce a
MicroThermoBase
CRTP base class and have each ofIdealGasMicroThermo
andStatMechThermodynamics
appropriately subclass.