Before considering the examples below, you may find it helpful to read the paper
The Design and Implementation of an Object-Oriented Validated ODE Solver
The first example in this paper is from the following three files:
In the second example in this paper, we used the file DemoVDP2.cc instead of DemoVDP.cc
In the examples directory, we have also provided VNODE files to integrate Lorenz's system, the two-body problem, the Stiff Detest problem D1, and the Detest Problem C3.
To integrate the Lorenz's system, we write the following three files:
Other examples of integrating the Lorenz's system are given in DemoLorenz1, DemoLorenz2, and DemoLorenz3.
The files for integrating the two-body problem are as follows: