Mostly these logs and powers:
|
return 2.0 * log((1.0 + x) / 2.0) + log((1.0 + x^2) / 2.0) - 2.0 * atan(x) + π / 2.0 |
|
return 0.62 / (ustrip(u"cm", z0) * ustrip(u"cm/minute", u_star) / 12)^(9//20) |
We could look into if any of these are not affected by loop variables and precompute them, and similar.
Mostly these logs and powers:
Microclimate.jl/src/boundary_layer.jl
Line 380 in d1efb50
Microclimate.jl/src/boundary_layer.jl
Line 307 in d1efb50
We could look into if any of these are not affected by loop variables and precompute them, and similar.