NCAR / micm

A model-independent chemistry module for atmosphere models
https://ncar.github.io/micm/
Apache License 2.0
5 stars 5 forks source link

Allow custom rate parameters to be directly set #440

Closed K20shores closed 5 months ago

K20shores commented 5 months ago

To support https://github.com/NCAR/musica/issues/79, we will need to allow the interfaces with fortran and python to somehow set custom rate parameters. We only accept mappings as of now. This adds a new methods that takes a vector of vectors and assumes that the order of rate constants is already correct.

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 90.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 94.64%. Comparing base (fb71ae6) to head (add96c2).

Files Patch % Lines
include/micm/solver/state.inl 90.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #440 +/- ## ========================================== - Coverage 94.65% 94.64% -0.02% ========================================== Files 38 38 Lines 3051 3060 +9 ========================================== + Hits 2888 2896 +8 - Misses 163 164 +1 ```

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