The world's first CUDA implementation of Weakly-Compressible Smoothed Particle Hydrodynamics
Switch branches/tags
Clone or download
Oblomov Move aux to coding_style
This allows checking out the code on braindead operating systems such as

One of these days we should finish writing the CodingStyle document.
Latest commit 1727f85 Nov 22, 2018



What is it

This repository holds the source code for GPUSPH, the first implementation of weakly-compressible Smoothed Particle Hydrodynamics (WCSPH) to run fully on Graphic Processing Units (GPU), using NVIDIA CUDA.

Quick start guide

Run make followed by make test to compile and run the default test problem. You can see a list of available test problems using make list-problems and run any of them with make $problem && ./GPUSPH where $problem is the selected problem.


GPUSPH requires a recent version of the NVIDIA CUDA SDK (7.5 or higher, preferably 8.0 or higher), and a compatible host compiler. Please consult the NVIDIA CUDA documentation for further information.

Further information can be found on the project's website.


If you wish to contribute to GPUSPH, please consult CONTRIBUTING.