-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
56 lines (51 loc) · 1.03 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
The subdirectories contain
core_src: problem-independent source code
prob:* : problem-specific source code.
Typical workflow:
## make and run
#
cd prob:kerr_torus
#
make newrun
#
# run, leaving some diagnostic info in harm.out
./harm >& harm.out
# ... this takes about 45 min on a mid-2015 macbook pro.
# for a longer run, edit decs.h and change N1 -> 256, N2 -> 256
#
#
## analyze
#
# look at log(density) in x1-x2 coordinates - requires imagemagick
display images/im_logrho_0400.ppm
#
# make a useful imaging program
make rz_image
#
# then make a set of movies - requires ffmpeg
sh ./make_movie.sh
#
# have a look:
vlc images/logrho_rz.mov
# then look at contour plot of log(density) in dump040
./dump.py 40
#
#
## repeat, wiping out data from last run.
#
make newrun
#
## another test case
#
cd ../prob:explosion
#
make
#
./harm >&! harm.out
# ... this takes about 7 min.
# etc...
#
# thanks to Peter Teuben and students at the Les Houches
# school of computational astrophysics in May 2016 for
# finding bugs and suggesting improvements.
#