CRKMEthods provides some of the most used Runge-Kutta methods in the C Programming Language. The algorithms that have been implemented as one-step are:
- Forward Euler
- RK4
- RK4 refined
- RK - Fehlberg
More information about those solvers can be found on Runge-Kutta's Wikipedia web-page and Fehlberg's wikipedia webpage.
The user can define the numerical precision from the solver.h file. They
can define the macro REAL
to either float
or double
.
The given example can be compiled from the parent directory by executing the following command:
$ gcc -I./include src/solvers.c src/main.c