Previous topic

Base Solvers

Next topic

Scikits.odes Solvers

This Page

Scipy Solver

class pybamm.ScipySolver(method='BDF', rtol=1e-06, atol=1e-06)[source]

Solve a discretised model, using scipy._integrate.solve_ivp.

Parameters:
  • method (str, optional) – The method to use in solve_ivp (default is “BDF”)
  • rtol (float, optional) – The relative tolerance for the solver (default is 1e-6).
  • atol (float, optional) – The absolute tolerance for the solver (default is 1e-6).