- Git
- CMake ≥ 3.10
- Visual Studio 2022 with C++ workload
- vcpkg
- HDF5 (installed via vcpkg)
- Python 3
- Clone the repository
git clone https://github.com/TimGoTheCreator/NEXT.git
cd NEXT- Install vcpkg and HDF5
git clone https://github.com/microsoft/vcpkg.git C:/vcpkg
C:/vcpkg/bootstrap-vcpkg.bat
C:/vcpkg/vcpkg install hdf5[hl]:x64-windows- Build NEXT
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ..
cmake --build . --config Release
cd ..- Run a built-in example simulation
cd examples/TwoBodies
python two_body.py
..\..\next.exe two_body.txt 8 0.01 0.1 vtu- View results
Open the .vtu output in ParaView.