Skip to content

zachschuermann/sph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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