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 (3191B)
---
1 JULIA=julia --procs 1 --optimize=3 --math-mode=fast --color=yes
2 PREFIX=breakup-ocean-atmosphere
3 SCRIPT=breakup-ocean-atmosphere.jl
4
5 .PHONY: all
6 all: $(PREFIX)_no_side_friction_sigma_c-500kPa.pdf \
7 $(PREFIX)_no_friction_sigma_c-500kPa.pdf \
8 $(PREFIX)_test_sigma_c-500kPa.pdf \
9 $(PREFIX)_no_side_friction_sigma_c-250kPa.pdf \
10 $(PREFIX)_no_friction_sigma_c-250kPa.pdf \
11 $(PREFIX)_test_sigma_c-250kPa.pdf
12
13 $(PREFIX)_test_sigma_c-500kPa.pdf: $(SCRIPT)
14 $(JULIA) $< --width=5e3 \
15 --E=2e7 \
16 --nu=0.285 \
17 --gamma_n=0. --gamma_t=0. \
18 --mu_s=0.4 --mu_d=0.4 \
19 --tensile_strength=0500e3 \
20 --gamma_n=0. --gamma_t=0. \
21 --mu_s=0.4 --mu_d=0.4 \
22 --r_min=6.0e2 --r_max=1.35e3 \
23 --rotating=true \
24 --ocean_vel_fac=1e4 \
25 --atmosphere_vel_fac=30 \
26 --total_hours=12. \
27 --nruns=1 \
28 "$@"
29
30 $(PREFIX)_no_side_friction_sigma_c-500kPa.pdf: $(SCRIPT)
31 $(JULIA) $< --width=5e3 \
32 --E=2e7 \
33 --nu=0.285 \
34 --gamma_n=0. --gamma_t=0. \
35 --mu_s=0.4 --mu_d=0.4 \
36 --tensile_strength=0500e3 \
37 --gamma_n=0. --gamma_t=0. \
38 --mu_s=0.4 --mu_d=0.4 \
39 --mu_s_wall=0.0 --mu_d_wall=0.0 \
40 --r_min=6.0e2 --r_max=1.35e3 \
41 --rotating=true \
42 --ocean_vel_fac=1e4 \
43 --atmosphere_vel_fac=30 \
44 --total_hours=12. \
45 --nruns=1 \
46 "$@"
47
48 $(PREFIX)_no_friction_sigma_c-500kPa.pdf: $(SCRIPT)
49 $(JULIA) $< --width=5e3 \
50 --E=2e7 \
51 --nu=0.285 \
52 --gamma_n=0. --gamma_t=0. \
53 --mu_s=0.4 --mu_d=0.4 \
54 --tensile_strength=0500e3 \
55 --gamma_n=0. --gamma_t=0. \
56 --mu_s=0.0 --mu_d=0.0 \
57 --mu_s_wall=0.0 --mu_d_wall=0.0 \
58 --r_min=6.0e2 --r_max=1.35e3 \
59 --rotating=true \
60 --ocean_vel_fac=1e4 \
61 --atmosphere_vel_fac=30 \
62 --total_hours=12. \
63 --nruns=1 \
64 "$@"
65
66 $(PREFIX)_test_sigma_c-250kPa.pdf: $(SCRIPT)
67 $(JULIA) $< --width=5e3 \
68 --E=2e7 \
69 --nu=0.285 \
70 --gamma_n=0. --gamma_t=0. \
71 --mu_s=0.4 --mu_d=0.4 \
72 --tensile_strength=0250e3 \
73 --gamma_n=0. --gamma_t=0. \
74 --mu_s=0.4 --mu_d=0.4 \
75 --r_min=6.0e2 --r_max=1.35e3 \
76 --rotating=true \
77 --ocean_vel_fac=1e4 \
78 --atmosphere_vel_fac=30 \
79 --total_hours=12. \
80 --nruns=1 \
81 "$@"
82
83 $(PREFIX)_no_side_friction_sigma_c-250kPa.pdf: $(SCRIPT)
84 $(JULIA) $< --width=5e3 \
85 --E=2e7 \
86 --nu=0.285 \
87 --gamma_n=0. --gamma_t=0. \
88 --mu_s=0.4 --mu_d=0.4 \
89 --tensile_strength=0250e3 \
90 --gamma_n=0. --gamma_t=0. \
91 --mu_s=0.4 --mu_d=0.4 \
92 --mu_s_wall=0.0 --mu_d_wall=0.0 \
93 --r_min=6.0e2 --r_max=1.35e3 \
94 --rotating=true \
95 --ocean_vel_fac=1e4 \
96 --atmosphere_vel_fac=30 \
97 --total_hours=12. \
98 --nruns=1 \
99 "$@"
100
101 $(PREFIX)_no_friction_sigma_c-250kPa.pdf: $(SCRIPT)
102 $(JULIA) $< --width=5e3 \
103 --E=2e7 \
104 --nu=0.285 \
105 --gamma_n=0. --gamma_t=0. \
106 --mu_s=0.4 --mu_d=0.4 \
107 --tensile_strength=0250e3 \
108 --gamma_n=0. --gamma_t=0. \
109 --mu_s=0.0 --mu_d=0.0 \
110 --mu_s_wall=0.0 --mu_d_wall=0.0 \
111 --r_min=6.0e2 --r_max=1.35e3 \
112 --rotating=true \
113 --ocean_vel_fac=1e4 \
114 --atmosphere_vel_fac=30 \
115 --total_hours=12. \
116 --nruns=1 \
117 "$@"
118
119 .PHONY: clean
120 clean:
121 $(RM) $(PREFIX)_*.run
122 $(RM) -rf $(PREFIX)_*pdf*/
123 for f in $(PREFIX)_*.vts; do $(RM) $$f; done
124 for f in $(PREFIX)_*.vtp; do $(RM) $$f; done
125 for f in $(PREFIX)_*.vtu; do $(RM) $$f; done
126 $(RM) $(PREFIX)_*.pdf
127 $(RM) $(PREFIX)_*.txt