Skip to content

Updates

Mads M. Pedersen requested to merge update into master
  • Fix bug in constrain where dimensions of Ny and Nz were switched
  • Refactor manntensor to avoid duplicate code
  • Introduce new interface, MannTurbulenceField with methods to get actual spectra, theoretical spectra (integrated and lookup), coherence, theoretical corehence, interpolation (including mirror/repeat), to/from netcdf and hawc2, constrains etc.
  • The new interface relies on MannSpectralTensor in hipersim/turbgen/spectral_tensor, that has been rewritten for efficient parallelization
  • Add the high-frequency compensation method from c++ (Mann 1998, Eq. A.6, except that the convolution is only applied in the (k2,k3), i.e. -2<=n_l<=2, l=(2,3))
  • Add doc/MannTurbulenceField.ipynb describing the new interface
  • Add doc/MannSpectrum to demonstrate the impact of the Mann parameters
  • Add doc/Validation.ipynb which compares hipersim to turbulence fields generated by the c++ version
  • Old interface unchanged
Edited by Mads M. Pedersen

Merge request reports