AlexDev

Join the Gang Gang and have the latest AI and Tech content.

Home page View on GitHub

Smoothed Particle Hydrodynamics in C

Posted on 2 July 2024.
c data structures algorithms

About

My attempt at implementing SPH in C by following this paper.

For now it is pretty much a work in progress.

Quickstart

mkdir -p build
cd build
cmake ..
cd ..
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ./build/ # for lsp
cmake --build ./build
./build/main

Conclusion