Skip to content
2D smoothed-particle hydrodynamics simulation
Haskell Python Makefile
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app nice cleanup Dec 18, 2019
src nice cleanup Dec 18, 2019
test nice cleanup Dec 18, 2019
.gitignore nice cleanup Dec 18, 2019
ChangeLog.md
LICENSE Initial commit Nov 29, 2019
Makefile change exec to just sph Dec 19, 2019
README.md change exec to just sph Dec 19, 2019
Setup.hs stack init Nov 29, 2019
package.yaml change exec to just sph Dec 19, 2019
stack.yaml particles Dec 9, 2019
stack.yaml.lock stack up Nov 29, 2019

README.md

SPH

2D smoothed-particle hydrodynamics simulation implemented in haskell.

Getting Started

Requires OpenGL, stack.

Simple:

make run

Using stack:

stack build
stack exec sph

or

stack install
sph -t -n 1000 -c 150 +RTS -N8 -s
sph --help #print usage

Log

Created with stack.

stack new sph
cd sph
stack setup
stack build

On Ubuntu:

apt install freeglut3 freeglut3-dev

Ref

You can’t perform that action at this time.