- Git
- CMake ≥ 3.10
- Clang
- OpenMP
- HDF5
- Python 3
- Clone the repository
git clone https://github.com/TimGoTheCreator/NEXT.git
cd NEXT- Install dependencies using Homebrew
brew update
brew install llvm libomp hdf5 python- Build NEXT
mkdir build
cd build
cmake .. -DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++
cmake --build . --config Release
cd ..- Run a built-in example simulation
cd examples/TwoBodies
python two_body.py
../../next two_body.txt 8 0.01 0.1 vtu- View results
Open the .vtu output in ParaView.