Skip to content

pybammsolvers v0.12.0

Choose a tag to compare

@rtimms rtimms released this 11 Nov 11:09
95f5167

pybammsolvers 0.12.0 adds the IDAKLU functions pybamm on main calls, so pybamm (pybammsolvers>=0.12.0,<0.13.0) installs from source or git against PyPI again.

Features

  • Adds shares_python_casadi, shared_function, fill_casadi_dm_dense and fill_casadi_dm_sparse to the IDAKLU module, used by pybamm for faster model build and solver set-up. (#5994, #6028)
  • Supports the IDAKLUSolver option upsampling_tolerance. (#5998)

Bug fixes

  • With num_threads > 1, each solver thread copies the algebraic initial-condition functions instead of sharing them, fixing invalid vector subscript errors and crashes on Windows. (#6026)
  • KLU's pivot tolerance is tightened to 0.1. (#5904)

Breaking changes

  • Python 3.10 is no longer supported; pybammsolvers requires Python 3.11 or newer. (#5895)

Full changelog: pybammsolvers-v0.11.1...pybammsolvers-v0.12.0