function logMean_der input Real dTx "Temperature difference 1"; input Real dTy "Temperature difference 2"; input Real small_dT = 1.0 "small x or y"; input Real tol = 0.05 "small difference x-y"; input Real dx "derivatives of Temperature difference 1"; input Real dy "derivatives of Temperature difference 2"; output Real dlmTd "derivative of logarithmic mean"; end logMean_der;