A simple C++ library that helps solving ordinary differential equations.
This simple C++ library enables to solve ordinary differential equations. Simple examples are provided and should be enough to explain how to use this library.
This repository contains:
- The software itself provided as a header only library in the directory include/s0s
- A few examples.
This library has been produced during my PhD thesis and as part as the European Research Council project: C0PEP0D This library is used as part of SHELD0N, a lagrangian particle advection software.
- CMake
v?or higher must be installed - a c++17 compliant compiler, such as gcc
v9or higher must be installed. For Ubuntu users: ppa. - the Threading Building Block Library
v2018or higher must be installed (this version that enables is installing it using CMake is advised)
To run the examples:
- Eigen or higher must be installed
The examples assume the following directory tree structure:
..
├── .
│ └── s0s
└── thirdparty
└── eigenOne should either install eigen accordingly, or adapt Eigen path in the CMakeList.txt file of the examples.
Start by cloning this repository.
$ git clone https://github.com/C0PEP0D/s0s.gitRunning an example:
$ cd examples/solve
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./solveA simple pull should be enough.
$ git pullRémi Monthiller - @rmonthil - remi.monthiller@gmail.com
Feel free to dive in! Open an issue or submit PRs.