Skip to content
Snippets Groups Projects
  • Nora Abi Akar's avatar
    modcc: process `CONSERVE` statements in `KINETIC` block (#829) · fdd9e7ee
    Nora Abi Akar authored and Benjamin Cumming's avatar Benjamin Cumming committed
    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 
    fdd9e7ee