Skip to content

Commit

Permalink
Merge pull request #135 from CasparJungbacker/dev-micro-cleanup
Browse files Browse the repository at this point in the history
SB/KK microphysics cleanup

Split SB and KK schemes into separate modules, similar to how the different advection schemes are implemented. This has several benefits:
* The implementations of different sources are much more readable, as the subroutines are shorter.
 * Prevents using SB parameters in the KK scheme and vice-versa.
* More modular approach makes it easier to add new schemes.
 
Added more field_r's. When using FP32, all computations should now actually be done in FP32.
Some (opinionated) formatting.
  • Loading branch information
fjansson authored Nov 6, 2024
2 parents 92b146a + 3607836 commit 63ffcb1
Show file tree
Hide file tree
Showing 7 changed files with 1,703 additions and 1,052 deletions.
Loading

0 comments on commit 63ffcb1

Please sign in to comment.