[cig-commits] r9121 - cs/benchmark/cigma/trunk/src/tests

luis at geodynamics.org luis at geodynamics.org
Tue Jan 22 22:38:10 PST 2008


Author: luis
Date: 2008-01-22 22:38:09 -0800 (Tue, 22 Jan 2008)
New Revision: 9121

Added:
   cs/benchmark/cigma/trunk/src/tests/strikeslip-compare.sh
Log:
Added comparison script for strikeslip benchmarks


Added: cs/benchmark/cigma/trunk/src/tests/strikeslip-compare.sh
===================================================================
--- cs/benchmark/cigma/trunk/src/tests/strikeslip-compare.sh	                        (rev 0)
+++ cs/benchmark/cigma/trunk/src/tests/strikeslip-compare.sh	2008-01-23 06:38:09 UTC (rev 9121)
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+
+################
+# 0: tet4_1000m
+# 1: tet4_0500m
+# 2: hex8_1000m
+# 3: hex8_0500m
+
+
+################
+# r='00'
+# a='tet4_1000m'
+# b='tet4_1000m'
+
+# r='01'
+# a='tet4_1000m'
+# b='tet4_0500m'
+
+# r='02'
+# a='tet4_1000m'
+# b='hex8_1000m'
+
+# r='03'
+# a='tet4_1000m'
+# b='hex8_0500m'
+
+
+################
+# r='10'
+# a='tet4_0500m'
+# b='tet4_1000m'
+
+# r='11'
+# a='tet4_0500m'
+# b='tet4_0500m'
+
+# r='12'
+# a='tet4_0500m'
+# b='hex8_1000m'
+
+# r='13'
+# a='tet4_0500m'
+# b='hex8_0500m'
+
+
+################
+# r='20'
+# a='hex8_1000m'
+# b='tet4_1000m'
+
+# r='21'
+# a='hex8_1000m'
+# b='tet4_0500m'
+
+# r='22'
+# a='hex8_1000m'
+# b='hex8_1000m'
+
+# r='23'
+# a='tet4_1000m'
+# b='hex8_0500m'
+
+
+################
+# r='30'
+# a='hex8_0500m'
+# b='tet4_1000m'
+
+# r='31'
+# a='hex8_0500m'
+# b='tet4_0500m'
+
+# r='32'
+# a='hex8_0500m'
+# b='hex8_1000m'
+
+# r='33'
+# a='hex8_0500m'
+# b='hex8_0500m'
+
+
+
+
+#######################################################
+
+path1="./strikeslip_${a}_t0.vtk:displacements_t0"
+path2="./strikeslip_${b}_t0.vtk:displacements_t0"
+outputfile="./residuals${r}-${a}-${b}.vtk"
+
+echo "Case ${r}"
+echo "Comparing ${a} with ${b}"
+echo "../cigma compare --output=${outputfile} --first=${path1} --second=${path2} ${*}"
+
+../cigma compare \
+    --output=${outputfile}  \
+    --first=${path1}        \
+    --second=${path2}       \
+    ${*}
+
+
+#EOF


Property changes on: cs/benchmark/cigma/trunk/src/tests/strikeslip-compare.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the cig-commits mailing list