URI: 
       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 (651B)
       ---
            1 BIN = ../cngf-pf/cngf-pf
            2 FIG != basename $(PWD)
            3 
            4 default: ../$(FIG).pdf
            5 
            6 # mimic Iverson 2010 fig 2a
            7 # shear-strain rate from 10^1 to 10^6 m/a
            8 # friction around 0.5
            9 sim.output00000.txt: $(BIN) Makefile
           10         /bin/sh -c '\
           11         for b in 0.01 0.10 0.20 0.40 0.94; do \
           12                 out="out_b$${b}.txt"; \
           13                 rm -f "$$out"; \
           14                 for t in $$(awk "BEGIN{for(i=0.0001; i<=1.0; i+=0.002) print i}"); do \
           15                         printf "$$t\t" >> "$$out"; \
           16                         ./$(BIN) -m 0.5 -n 100e3 -L 1.0 -f $$t -b $$b sim | \
           17                         tail -n 1 | cut -f2 >> "$$out"; \
           18         done; done'
           19 
           20 ../$(FIG).pdf: fig.gp sim.output00000.txt *.dat
           21         gnuplot fig.gp > $@
           22 
           23 clean:
           24         rm -f *.txt
           25         rm -f ../$(FIG).pdf
           26 
           27 .PHONY: default clean