tMakefile - cngf-pf-exp1 - experiments for first paper with continuum granular … | |
git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
tMakefile (645B) | |
--- | |
1 FIG != basename $(PWD) | |
2 BIN = ../cngf-pf/max_depth_simple_shear | |
3 | |
4 default: ../$(FIG).pdf | |
5 | |
6 sim.output00001.txt: ../fig-stick_slip_stress/sim.output00001.txt | |
7 cp ../fig-stick_slip_stress/sim.output*.txt . | |
8 | |
9 ../$(FIG).pdf: fig.gp sim.output00001.txt ../skindepth.gp $(BIN) Makefile | |
10 sh -c '\ | |
11 out=$$($(BIN) \ | |
12 -k 2e-17 \ | |
13 -O 100e3 \ | |
14 -a 80e3 \ | |
15 -q $$( echo "1.0/(3600*24)" | bc -l )\ | |
16 ); \ | |
17 max_def_depth=$$(echo $$out | cut -d" " -f1); \ | |
18 skin_depth=$$(echo $$out | cut -d" " -f2); \ | |
19 gnuplot -e "skin_depth=$$skin_depth; max_def_depth=$$max… | |
20 fig.gp > $@' | |
21 | |
22 clean: | |
23 rm -f *.txt | |
24 rm -f ../$(FIG).pdf | |
25 | |
26 .PHONY: default clean |