midpoint_adaptive_test

midpoint_adaptive_test, a C++ code which calls midpoint_adaptive(), which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, relying on fsolve() to solve the implicit equation, and using an adaptive timestep. Plots of the solution and timestep history are created using gnuplot().

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and codes:

midpoint_adaptive, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, relying on fsolve() to solve the implicit equation, and using an adaptive timestep. Plots of the solution and timestep history are created using gnuplot().

Source Code:


Last revised on 10 July 2024.