Solve non-linear systems that are not kinetic schemes. (#1724)
Some refactoring of the SOLVE statement handling in `module.cpp`. Allow the usage of `SparseNonlinearSolverVisitor` for non-linear systems not only when in the form of a kinetic scheme. Check linearity of kinetic schemes and linear systems (was previously skipped).
Showing
- modcc/module.cpp 47 additions, 52 deletionsmodcc/module.cpp
- test/unit/CMakeLists.txt 2 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/mod/test4_kin_compartment.mod 1 addition, 1 deletiontest/unit/mod/test4_kin_compartment.mod
- test/unit/mod/test5_nonlinear_diff.mod 29 additions, 0 deletionstest/unit/mod/test5_nonlinear_diff.mod
- test/unit/mod/test6_nonlinear_diff.mod 19 additions, 0 deletionstest/unit/mod/test6_nonlinear_diff.mod
- test/unit/test_kinetic_linear.cpp 28 additions, 0 deletionstest/unit/test_kinetic_linear.cpp
- test/unit/unit_test_catalogue.cpp 4 additions, 0 deletionstest/unit/unit_test_catalogue.cpp
test/unit/mod/test5_nonlinear_diff.mod
0 → 100644
test/unit/mod/test6_nonlinear_diff.mod
0 → 100644
Please register or sign in to comment