SPH-Water-Simulation icon indicating copy to clipboard operation
SPH-Water-Simulation copied to clipboard

Simple (unoptimized) 2D implementation of the 'Smoothed Particle Hydrodynamics' method for water simulation.

Results 2 SPH-Water-Simulation issues
Sort by recently updated
recently updated
newest added

Was not compiling in ubuntu and made changes to compile using latest c++ foreach syntax. gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609

When SPHSolver::findNeighborhoods() generates the vector of neighbours for each particle, it include the particle itself. In other words a particle is found as a neighbour of itself. This seems wrong...