sandialabs / Spitfire

Spitfire is a Python/C++ library for constructing tabulated chemistry models and solving differential equations.
Other
37 stars 9 forks source link

Support arbitrary additions to the RHS #23

Open michael-a-hansen opened 2 years ago

michael-a-hansen commented 2 years ago

It would be good to let users add to the right-hand side (or residual) vector along with some contribution to the Jacobian matrix, ideally without requiring detailed knowledge of the internal indexing details. This should actually be pretty easy to support...

michael-a-hansen commented 2 years ago

This may be a simple path forward to more complex flamelet formulations. Not performant but could at least work....