A ode solver repository in C, C++, MATLAB and Python. Courtesy of "Numerical Methods For Solution of Differential Equations" by Tobias Ritschel.
- Install
git clone https://github.com/smallpondtom/ode-tokimasu.git
- Install the Eigen
cd ode-tokimasu
git submodule init
git submodule update
- Compile and build (for c++)
cd cpp
cmake -S . -B build -G Ninja
cd build
ninja
./MyOdeSolver
- Implement DOP853 algorithm from Hairer.
- Implement ESDIRK23 algorithm (implicit method) for stiff ODEs.
- Understand and implement dense output for each algorithm to reduce computation cost.
- Write ESDIRK23 method function for python used for stiff-functions.
- Create code for C.
- Create code for C++.
- Create code for Julia.