A collection of methods for the BPhO 2022 Computational Challenge.
This solves the following set of ODEs in a variety of ways:
Given
where
- C++ and python implementations uf euler's method and runge-kutta's 4th order method (rk4)
- euler's method: recommended (read: mandated) by BPhO
- rk4 method: approx 40% faster than euler' method
- 'py_ref.py' contains roughly equivalent python code to the c++ code used for euler and rk4