feat(KINSOL): Switch from Eigen to KINSOL

Previously QSE solving was done using Eigen. While this worked we were
limited in the ability to use previous iterations to speed up later
steps. We have switched to KINSOL, from SUNDIALS, for linear solving.
This has drastically speed up the process of solving for QSE abundances,
primarily because the jacobian matrix does not need to be generated
every single time time a QSE abundance is requested.
This commit is contained in:
2025-11-19 12:06:21 -05:00
parent f7fbc6c1da
commit 442d4ed86c
12 changed files with 506 additions and 386 deletions

View File

@@ -1,6 +1,6 @@
[wrap-file]
directory = cvode-7.3.0
directory = cvode-7.5.0
source_url = https://github.com/LLNL/sundials/releases/download/v7.3.0/cvode-7.3.0.tar.gz
source_filename = cvode-7.3.0.tar.gz
source_hash = 8b15a646882f2414b1915cad4d53136717a077539e7cfc480f2002c5898ae568
source_url = https://github.com/LLNL/sundials/releases/download/v7.5.0/cvode-7.5.0.tar.gz
source_filename = cvode-7.5.0.tar.gz
source_hash = e588d1c569c2fe92403c6b1a8bcce973624bf6ead4a6a302ab7cc3c4f39523bd

6
subprojects/kinsol.wrap Normal file
View File

@@ -0,0 +1,6 @@
[wrap-file]
directory = kinsol-7.5.0
source_url = https://github.com/LLNL/sundials/releases/download/v7.5.0/kinsol-7.5.0.tar.gz
source_filename = kinsol-7.5.0.tar.gz
source_hash = ce712ea29aaec537a6cd234d1a6bea024592ef54a26a5d457dda2320f0c49d07