octue / es-flow

Atmospheric and marine flow characterisation tools.
Other
3 stars 0 forks source link

Account for varied eta #38

Closed thclark closed 5 years ago

thclark commented 5 years ago

Many functions throughout the library (e.g. reynolds_stress_13) are sensitive to their input eta distribution.

The validated case is run with 10,000 points in eta, logarithmically distributed through the boundary layer. This is problematic for producing spectra or doing optimisation calculations, as it's unnecessarily compute intensive.

Undertake a review. For functions that are sensitive to eta, hard-code a sufficiently representative eta distribution internally, then interpolate to the desired output points, to allow them to operate independent of the requested eta locations.

thclark commented 5 years ago

Completed in 1f88a956236abbefb214c4777dc88d184cc80e47