feat(CVODE_Solver_Strategy): added non negative constraint to CVODE based abundance solver

this prevents abundance values from going negative which is non physical
This commit is contained in:
2025-09-22 11:15:14 -04:00
parent 813e62bdd6
commit 4c91f8c525
4 changed files with 40 additions and 1 deletions

View File

@@ -122,7 +122,7 @@ int main(int argc, char* argv[]){
netIn.temperature = 1.5e7;
netIn.density = 1.6e2;
netIn.energy = 0;
netIn.tMax = 1e2;
netIn.tMax = 3e13;
// netIn.tMax = 1e-14;
netIn.dt0 = 1e-12;