tRemove time series before appending to it - 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
---
DIR commit 7e22d8aeae7156686d3a6883ae788607cc6b7b0f
DIR parent 674f70c7fbaf05c501843c8ecccf1069c537509a
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 15 Jul 2019 16:30:50 +0200
Remove time series before appending to it
Diffstat:
M fig4/Makefile | 2 ++
M fig5/Makefile | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/fig4/Makefile b/fig4/Makefile
t@@ -15,12 +15,14 @@ sim.output00000.txt: $(BIN)
timeseries.txt: sim.output00000.txt
/bin/sh -c '\
+ rm -f $@; \
for f in sim.output*.txt; do \
tail -n 1 "$$f" | cut -f2- >> $@; \
done'
max_strainrate_depth.txt: sim.output00000.txt
/bin/sh -c '\
+ rm -f $@; \
for f in sim.output*.txt; do \
awk " \
BEGIN{getline; depth=8.0; max=0.0} \
DIR diff --git a/fig5/Makefile b/fig5/Makefile
t@@ -15,12 +15,14 @@ sim.output00000.txt: $(BIN)
timeseries.txt: sim.output00000.txt
/bin/sh -c '\
+ rm -f $@; \
for f in sim.output*.txt; do \
tail -n 1 "$$f" | cut -f2- >> $@; \
done'
max_strainrate_depth.txt: sim.output00000.txt
/bin/sh -c '\
+ rm -f $@; \
for f in sim.output*.txt; do \
awk " \
BEGIN{getline; depth=8.0; max=0.0} \