tMakefile - cngf-pf-exp1 - experiments for first paper with continuum granular model
HTML git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
tMakefile (635B)
---
1 FIG != basename $(PWD)
2 BIN = ../cngf-pf/max_depth_simple_shear
3
4 N = 64
5
6 default: ../$(FIG).pdf
7
8 ../$(FIG).pdf: fig.gp max_depth_ampl10e3.txt
9 gnuplot fig.gp > $@
10
11 max_depth_ampl10e3.txt: $(BIN) Makefile
12 for A_f in 10e3 100e3; do\
13 out=max_depth_ampl$${A_f}.txt;\
14 rm -f $$out;\
15 for D in $$(range -l -N ${N} 1e-9 1e-3); do\
16 for f in $$(range -l -N ${N} 1e-9 1e-3); do\
17 printf "%g\t%g\t" $$f $$D >> $$out;\
18 ./$(BIN) \
19 -D $$D \
20 -a $$A_f \
21 -q $$f | \
22 awk '{print $$1}' >> $$out;\
23 done;\
24 echo >> $$out;\
25 done;\
26 done
27
28 clean:
29 rm -f ../$(FIG).pdf
30 rm -f max_depth_ampl*.txt
31
32 .PHONY: default clean