A WIP gravitational N-body simulator written in C++, which will support various different integrators. The code should be cross-platform.
- C++17
- Meson
- OpenMP
Just run:
git clone https://github.com/arvillacl16-bit/fresh-nbody.git
cd fresh-nbody
meson setup builddir --buildtype=release -Dbuild-tests=false
meson compile -C builddirOr if you want a static library:
git clone https://github.com/arvillacl16-bit/fresh-nbody.git
cd fresh-nbody
meson setup builddir --buildtype=release -Dbuild-tests=false -Ddefault_library=static
meson compile -C builddirThe shared library should be located at ./builddir/freshnbody.[so/dll/dylib] or static library at ./builddir/freshnbody.a. If you want to install the library system-wide, use:
meson install -C builddirBecause this project is linked to a YouTube video series, pull requests will be reviewed on video. You are free to make issues or suggestions, though.
This uses an LGPL 3.0 license.