tMakefile - seaice-experiments - sea ice experiments using Granular.jl
(HTM) git clone git://src.adamsgaard.dk/seaice-experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tMakefile (1650B)
---
1 JULIA=julia --procs 1 --optimize=3 --math-mode=fast --color=yes
2 PREFIX=jamming-ocean-atmosphere
3 SCRIPT=jamming-ocean-atmosphere.jl
4
5 .PHONY: all
6 all: $(PREFIX)_no_side_friction.pdf \
7 $(PREFIX)_test.pdf
8
9 $(PREFIX)_test.pdf: $(SCRIPT)
10 $(JULIA) $< --width=5e3 \
11 --E=2e7 \
12 --nu=0.285 \
13 --gamma_n=0. --gamma_t=0. \
14 --mu_s=0.4 --mu_d=0.4 \
15 --tensile_strength=0500e3 \
16 --gamma_n=0. --gamma_t=0. \
17 --mu_s=0.4 --mu_d=0.4 \
18 --r_min=6.0e2 --r_max=1.35e3 \
19 --rotating=true \
20 --ocean_vel_fac=1e4 \
21 --atmosphere_vel_fac=30 \
22 --total_hours=12. \
23 --nruns=1 \
24 "$@"
25
26 $(PREFIX)_no_side_friction.pdf: $(SCRIPT)
27 $(JULIA) $< --width=5e3 \
28 --E=2e7 \
29 --nu=0.285 \
30 --gamma_n=0. --gamma_t=0. \
31 --mu_s=0.4 --mu_d=0.4 \
32 --tensile_strength=0500e3 \
33 --gamma_n=0. --gamma_t=0. \
34 --mu_s=0.4 --mu_d=0.4 \
35 --mu_s_wall=0.0 --mu_d_wall=0.0 \
36 --r_min=6.0e2 --r_max=1.35e3 \
37 --rotating=true \
38 --ocean_vel_fac=1e4 \
39 --atmosphere_vel_fac=30 \
40 --total_hours=12. \
41 --nruns=1 \
42 "$@"
43
44 $(PREFIX)_no_friction.pdf: $(SCRIPT)
45 $(JULIA) $< --width=5e3 \
46 --E=2e7 \
47 --nu=0.285 \
48 --gamma_n=0. --gamma_t=0. \
49 --mu_s=0.4 --mu_d=0.4 \
50 --tensile_strength=0500e3 \
51 --gamma_n=0. --gamma_t=0. \
52 --mu_s=0.0 --mu_d=0.0 \
53 --mu_s_wall=0.0 --mu_d_wall=0.0 \
54 --r_min=6.0e2 --r_max=1.35e3 \
55 --rotating=true \
56 --ocean_vel_fac=1e4 \
57 --atmosphere_vel_fac=30 \
58 --total_hours=12. \
59 --nruns=1 \
60 "$@"
61
62 .PHONY: clean
63 clean:
64 $(RM) $(PREFIX)_*.run
65 for f in $(PREFIX)_*.vts; do $(RM) $$f; done
66 for f in $(PREFIX)_*.vtp; do $(RM) $$f; done
67 for f in $(PREFIX)_*.vtu; do $(RM) $$f; done
68 $(RM) $(PREFIX)_*.pdf
69 $(RM) $(PREFIX)_*.txt