tAdd reproducibility testing suite - cngf-pf - continuum model for granular flo… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e700e8e26323a391f374c70d5c659dd8f2420a1c | |
parent c6252dfc984430338a5d68b7eee836705d84be7d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sat, 6 Jul 2019 11:00:14 +0200 | |
Add reproducibility testing suite | |
Diffstat: | |
M .gitlab-ci.yml | 1 + | |
M Makefile | 5 ++++- | |
M test/simple_shear_wet_vari.std | 70 ++++++++++++++++++++++-------… | |
3 files changed, 55 insertions(+), 21 deletions(-) | |
--- | |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml | |
t@@ -6,6 +6,7 @@ build-alpine: | |
script: | |
- make -C examples | |
- make memtest | |
+ - make test | |
artifacts: | |
paths: | |
- examples/1d_fd_simple_shear.png | |
diff --git a/Makefile b/Makefile | |
t@@ -25,6 +25,9 @@ uninstall: | |
watch: | |
echo $(SRC) $(HDR) | tr ' ' '\n' | entr -s 'make && ./1d_fd_simple_she… | |
+test: $(BIN) | |
+ make -C test/ | |
+ | |
memtest: $(BIN) | |
valgrind --error-exitcode=1 --leak-check=full $(BIN) -h | |
valgrind --error-exitcode=1 --leak-check=full $(BIN) | |
t@@ -40,4 +43,4 @@ clean: | |
$(RM) *.o | |
$(RM) 1d_fd_simple_shear | |
-.PHONY: default install uninstall watch memtest clean | |
+.PHONY: default install uninstall watch test memtest clean | |
diff --git a/test/simple_shear_wet_vari.std b/test/simple_shear_wet_vari.std | |
t@@ -1,20 +1,50 @@ | |
-0 0 166707.99998450707 59810.000015492937 0.239940… | |
-0.21052631578947367 2.7584171060296952e-21 163197.0525772252 … | |
-0.42105263157894735 6.7620272391300262e-20 159686.10504191171 … | |
-0.63157894736842102 1.5319422029908913e-18 156175.15701642109 … | |
-0.84210526315789469 3.3174828627447406e-17 152664.20716674425 … | |
-1.0526315789473684 6.8616093815285105e-16 149153.25081083775 … | |
-1.263157894736842 1.3594886575567926e-14 145642.27229367738 … | |
-1.4736842105263157 2.5242232601336545e-13 142131.22190988649 … | |
-1.6842105263157894 4.3818750958992694e-12 138619.9503474806 … | |
-1.8947368421052631 7.014895930321882e-11 135108.03489565974 … | |
-2.1052631578947367 1.028425556386938e-09 131594.35235180694 … | |
-2.3157894736842106 1.362243950414767e-08 128076.11341727671 … | |
-2.5263157894736841 1.6036169759598144e-07 124546.87395541195 … | |
-2.7368421052631575 1.6380864135430186e-06 120992.84362387168 … | |
-2.9473684210526314 1.4027742020027414e-05 117386.83523566221 … | |
-3.1578947368421053 9.5326199447534323e-05 113679.55127738956 … | |
-3.3684210526315788 0.00046537431594745554 109789.94010608022 … | |
-3.5789473684210522 0.0012993355561334605 105594.87020437709 … | |
-3.7894736842105261 0.0029425347324797792 100929.15543696893 … | |
-4 0.0053862100172263703 95699.40939873358 54300.590601266… | |
+0 0 233416 69620 0.17136785824450768 4.6669… | |
+0.16326530612244897 1.7254952706385231e-54 230693.22448979598 … | |
+0.32653061224489793 4.0407528378181352e-53 227970.44897959181 … | |
+0.48979591836734693 8.974295020266734e-52 225247.67346938775 … | |
+0.65306122448979587 1.9701560192325873e-50 222524.89795918373 … | |
+0.81632653061224481 4.2761289007686597e-49 219802.12244897956 … | |
+0.97959183673469385 9.1830745572815287e-48 217079.3469387755 … | |
+1.1428571428571428 1.9498828754953071e-46 214356.57142857148 … | |
+1.3061224489795917 4.0947197409276331e-45 211633.79591836737 … | |
+1.4693877551020407 8.5036429549021249e-44 208911.02040816325 … | |
+1.6326530612244896 1.7480675471538054e-42 206188.24489795923 … | |
+1.7959183673469385 3.539940981416758e-41 203465.46938775512 … | |
+1.9591836734693877 7.0931648073750382e-40 200742.69387755101 … | |
+2.1224489795918364 1.3977718223300297e-38 198019.91836734698 … | |
+2.2857142857142856 2.7169484005267094e-37 195297.14285714287 … | |
+2.4489795918367343 5.1911969991998432e-36 192574.36734693879 … | |
+2.6122448979591835 9.763078128451431e-35 189851.59183673467 … | |
+2.7755102040816326 1.8040901888251089e-33 187128.81632653045 … | |
+2.9387755102040813 3.2762762225154885e-32 184406.04081632581 … | |
+3.1020408163265305 5.8407996135536725e-31 181683.26530611966 … | |
+3.2653061224489792 1.0219296569113868e-29 178960.48979590717 … | |
+3.4285714285714284 1.7537839775708538e-28 176237.71428567087 … | |
+3.5918367346938771 2.9532594673125378e-27 173514.93877534565 … | |
+3.7551020408163263 4.852289272484226e-26 170792.16326469684 … | |
+3.9183673469387754 7.8070892844153727e-25 168069.38775290188 … | |
+4.0816326530612246 1.2217233046811581e-23 165346.6122371552 … | |
+4.2448979591836729 1.8629810243254646e-22 162623.83670816355 … | |
+4.408163265306122 2.7563943070352647e-21 159901.06113606569 … | |
+4.5714285714285712 3.9572518926888654e-20 157178.28542789785 … | |
+4.7346938775510203 5.4963506588583547e-19 154455.5093036305 … | |
+4.8979591836734686 7.3755464522665584e-18 151732.73194821359 … | |
+5.0612244897959178 9.535833533755632e-17 149009.95107267829 … | |
+5.2244897959183669 1.1851835425236564e-15 146287.16048356297 … | |
+5.3877551020408161 1.4120738727817069e-14 143564.34405923815 … | |
+5.5510204081632653 1.6091823684041896e-13 140841.46149164127 … | |
+5.7142857142857135 1.7383234595739768e-12 138118.41613303503 … | |
+5.8775510204081627 1.7795936522605085e-11 135394.98611092602 … | |
+6.0408163265306118 1.7077361522838451e-10 132670.68455710524 … | |
+6.204081632653061 1.5298790337792099e-09 129944.4919604421 … | |
+6.3673469387755093 1.2660201931744904e-08 127214.37447105086 … | |
+6.5306122448979584 9.5919875640144804e-08 124476.47316476867 … | |
+6.6938775510204076 6.561993735809059e-07 121723.83584970099 … | |
+6.8571428571428568 3.9863386318433809e-06 118944.58921107838 … | |
+7.0204081632653059 2.099480365468637e-05 116119.53887028329 … | |
+7.1836734693877542 9.26138484566583e-05 113219.36777615397 … | |
+7.3469387755102034 0.00032389643940719027 110201.74924202729 … | |
+7.5102040816326525 0.00081486226743948708 107009.4075015166 … | |
+7.6734693877551017 0.0017146965332775813 103568.32747808649 … | |
+7.8367346938775508 0.0031367194103326056 99790.872544753947 … | |
+7.9999999999999991 0.0049264573041015863 95644.023244240714 … |