DaluS / CHIMES

Dynamic system solver oriented toward coupled economic models
MIT License
3 stars 0 forks source link

Solver for any matrix of differential #203

Closed DaluS closed 1 year ago

DaluS commented 1 year ago

I changed the solver ! The issue was : we created an y[ ... ] containing each differential fields. dealing with scalar and vectoral equation was ok (I was using an index vector inside) but adding matrix was very messy.

Recoding the part made :

  1. Solver easier to read and understand
  2. Any time of data compatible
  3. Access to state variable possible
  4. Solver faster (3.5s before, 3s now for 10000 iteration of a GK)
DaluS commented 1 year ago

Manually merged