Skip to content
Snippets Groups Projects
Commit fdd9e7ee authored by Nora Abi Akar's avatar Nora Abi Akar Committed by Benjamin Cumming
Browse files

modcc: process `CONSERVE` statements in `KINETIC` block (#829)

Add modcc support for processing `CONSERVE` statements in `KINETIC` blocks.

The `KineticRewriter` remains unchanged. The `SparseSolverVisitor` is modified. 
If one or more `CONSERVE` statements are present, corresponding rows in the symbolic matrix, which would otherwise represent differential equations, are replaced by the content of the conserve statements. 

Addresses #828 and #830 
parent 9e4f87fb
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment