CliMA / Cloudy.jl

:cloud_with_rain: Multi-moment cloud microphysics toy model
Apache License 2.0
15 stars 3 forks source link

kernel tensor approximation #121

Closed sajjadazimi closed 9 months ago

sajjadazimi commented 10 months ago

This PR changes the way we approximate kernel tensors: instead of using a system of linear equations with polynomial integrals the kernel is approximated by minimizing the mismatch between a 2D polynomial and the kernel function at chosen grid points. Also, instead of a single kernel for all distributions a matrix of kernels associated with the list of dists is used. This makes using Long's kernel possible.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (d56d2ae) 98.65% compared to head (2e6cb29) 98.78%. Report is 6 commits behind head on main.

Files Patch % Lines
src/ParticleDistributions/ParticleDistributions.jl 97.90% 3 Missing :warning:
src/Kernels/KernelTensors.jl 97.82% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #121 +/- ## ========================================== + Coverage 98.65% 98.78% +0.12% ========================================== Files 6 6 Lines 372 411 +39 ========================================== + Hits 367 406 +39 Misses 5 5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.