memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Bind different integrators for python

Open MaxBetzDLR opened this issue 6 months ago • 0 comments

Feature description

Until now, python simulations always use the default integrator defined in the c++ code. Goal is to give the user an interface to change the integrator aswell as the parameters of an integrator.

Additional context

Needed Changes:

  • Bind abstract base class IntegratorCore
  • Specifically bind each integrator core we want to have in python (for now mio::EulerIntegratorCore, mio::RKIntegratorCore and rungekuttacashcarp54
  • change simulate/simulate_flow and Simulation binding to include integrator

Checklist

  • [X] Attached labels, especially loc:: or model:: labels.
  • [X] Linked to project.

MaxBetzDLR avatar Aug 07 '24 14:08 MaxBetzDLR