Update README.md

This commit is contained in:
nilsberglund-orleans 2021-07-19 14:32:50 +02:00 committed by GitHub
parent fd357b3b42
commit 0d17a4deba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,11 @@ There are two groups of 4 files:
### Simulations of classical particles in billiards.
global_particles.c
sub_part_billiard.c
particle_billiard.c
drop_billiard.c
Create subfolders 'tif_part', 'tif_drop'
@ -22,6 +25,7 @@ Customize constants at beginning of .c file
Compile with
gcc -o particle_billiard particle_billiard.c-O3 -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut
gcc -o drop_billiard drop_billiard.c-O3 -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut
Generate movie with
@ -31,9 +35,13 @@ ffmpeg -i part.%05d.tif -vcodec libx264 part.mp4
### Simulations of wave equation, heat equation and Schrodinger equation.
global_pdes.c
sub_wave.c
wave_billiard.c
heat.c
schrodinger.c
Create subfolders 'tif_wave', 'tif_heat', 'tif_schrod'
@ -43,7 +51,9 @@ Customize constants at beginning of .c file
Compile with
gcc -o wave_billiard wave_billiard.c -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut -O3 -fopenmp
gcc -o heat heat.c -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut -O3 -fopenmp
gcc -o schrodinger schrodinger.c -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut -O3 -fopenmp
Generate movie with