tAdd test and test results for shear_flux(1) - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
(HTM) git clone git://src.adamsgaard.dk/cngf-pf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5285ce751ed21099b871ba7fe65359dfc920e18c
(DIR) parent 9c4d6a1eb6a3d2ea7f4e406001b57c141ee0a792
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Apr 2020 15:57:14 +0200
Add test and test results for shear_flux(1)
Diffstat:
M test/Makefile | 18 +++++++++++++++++-
A test/shear_flux_dry.std | 1 +
A test/shear_flux_wet.std | 1 +
3 files changed, 19 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/test/Makefile b/test/Makefile
t@@ -1,5 +1,6 @@
BIN = ../1d_fd_simple_shear
BIN2 = ../max_depth_simple_shear
+BIN3 = ../shear_flux
TESTS = simple_shear_dry \
simple_shear_dry_norm \
t@@ -8,7 +9,9 @@ TESTS = simple_shear_dry \
simple_shear_wet_norm \
simple_shear_wet_vari \
simple_shear_wet_vari_pulse \
- max_depth_misc
+ max_depth_misc\
+ shear_flux_dry \
+ shear_flux_wet
STANDARDS := $(TESTS:=.std)
t@@ -60,6 +63,13 @@ simple_shear_wet_vari_pulse: $(BIN)
max_depth_misc: $(BIN2)
$(MAX_DEPTH_MISC) | diff $@.std -
+shear_flux_dry: $(BIN) $(BIN3)
+ ./$(BIN) $(SIMPLE_SHEAR_DRY_OPTS) | ./$(BIN3) | diff $@.std -
+
+shear_flux_wet: $(BIN)
+ ./$(BIN) $(SIMPLE_SHEAR_WET_OPTS) | ./$(BIN3) | diff $@.std -
+
+
simple_shear_dry.std: $(BIN)
./$(BIN) $(SIMPLE_SHEAR_DRY_OPTS) > $@
t@@ -84,6 +94,12 @@ simple_shear_wet_vari_pulse.std: $(BIN)
max_depth_misc.std: $(BIN2)
$(MAX_DEPTH_MISC) > $@
+shear_flux_dry.std: $(BIN) $(BIN3)
+ ./$(BIN) $(SIMPLE_SHEAR_DRY_OPTS) | ./$(BIN3) > $@
+
+shear_flux_wet.std: $(BIN) $(BIN3)
+ ./$(BIN) $(SIMPLE_SHEAR_WET_OPTS) | ./$(BIN3) > $@
+
$(BIN):
make -C ..
(DIR) diff --git a/test/shear_flux_dry.std b/test/shear_flux_dry.std
t@@ -0,0 +1 @@
+0.00018442803707178861
(DIR) diff --git a/test/shear_flux_wet.std b/test/shear_flux_wet.std
t@@ -0,0 +1 @@
+0.00022851766213508187