These functions in Transfercoefs module use Math_helpers.polyval to evaluate polynomial functions:
dyn_visc_dryair
therm_cond_dryair
heat_cap_dryair
therm_cond_vapor
heat_cap_vapor
This has been demonstrated to be less efficient in terms of time spent and allocations invoked than manually written polynomial expressions. Hard-code them for best performance, because the numerical coefficients would rarely need to be changed. If there is any change at all to these functions it would be likely on the interface side.
These functions in
Transfercoefs
module useMath_helpers.polyval
to evaluate polynomial functions:dyn_visc_dryair
therm_cond_dryair
heat_cap_dryair
therm_cond_vapor
heat_cap_vapor
This has been demonstrated to be less efficient in terms of time spent and allocations invoked than manually written polynomial expressions. Hard-code them for best performance, because the numerical coefficients would rarely need to be changed. If there is any change at all to these functions it would be likely on the interface side.