Follow-up from "MPL vapor pressure clausius clapeyron equation"
The following discussion from !3316 (merged) should be addressed:
-
@TomFischer started a discussion: (+2 comments) The implementation of the method
molarMass
looks very similar to the functionmolarMass
implemented inIdealGasLaw
. I think it is possible to re-use the already implemented function here.
Actually, its identical. Not only that, it would be identical to any function that gives back any property. So, there is potential for an even more general approach, it could return each property. But then, the data type is no longer limited to double
, but to MaterialPropertyLib::PropertyDataType
. I guess this requires for an additional merge request.
However, I doubt that my skills are sufficient to make this generalisation. I could use some help in this regard.