[cig-commits] [commit] master: Scripts to recreate data for figures in the user manual. (f9b9d1b)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri May 9 15:23:32 PDT 2014
Repository : https://github.com/geodynamics/cigma
On branch : master
Link : https://github.com/geodynamics/cigma/compare/65c02138d3ae8b87c088cc14fe4f98e21e3f0805...a26f592c25c89a40622404999ba1effcdf6df9e3
>---------------------------------------------------------------
commit f9b9d1be7a2daab2c81fdcbc2b842587f1649b0c
Author: Luis Armendariz <luis>
Date: Mon Jan 28 21:03:52 2008 +0000
Scripts to recreate data for figures in the user manual.
>---------------------------------------------------------------
f9b9d1be7a2daab2c81fdcbc2b842587f1649b0c
figures/rsng-p0500-g0500.sh | 66 +++++++++++++++++++++++++++++++++++++++++++++
figures/ssng-p0250-g0500.sh | 25 +++++++++++++++++
figures/ssng-p0500-g0500.sh | 66 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 157 insertions(+)
diff --git a/figures/rsng-p0500-g0500.sh b/figures/rsng-p0500-g0500.sh
new file mode 100755
index 0000000..65b3b29
--- /dev/null
+++ b/figures/rsng-p0500-g0500.sh
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+bm=bmrsnog
+bmfile=$bm.h5
+prefix=rsng-p0500-g0500
+
+#########
+
+echo "---------------------------------------------------------------"
+var=variables/displacement/step00000
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --output=$prefix.disp-000.vtk
+
+echo "---------------------------------------------------------------"
+var=variables/displacement/step00010
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --output=$prefix.disp-010.vtk
+
+echo "---------------------------------------------------------------"
+var=variables/displacement/step00050
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --output=$prefix.disp-050.vtk
+
+echo "---------------------------------------------------------------"
+var=variables/displacement/step00100
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --output=$prefix.disp-100.vtk
+
+#########
+
+echo "---------------------------------------------------------------"
+t=step00000
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --output=$prefix.velo-000.vtk
+
+echo "---------------------------------------------------------------"
+t=step00010
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --output=$prefix.velo-010.vtk
+
+echo "---------------------------------------------------------------"
+t=step00050
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --output=$prefix.velo-050.vtk
+
+echo "---------------------------------------------------------------"
+t=step00100
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --output=$prefix.velo-100.vtk
+
diff --git a/figures/ssng-p0250-g0500.sh b/figures/ssng-p0250-g0500.sh
new file mode 100755
index 0000000..4fe09fd
--- /dev/null
+++ b/figures/ssng-p0250-g0500.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+bm=bmssnog
+bmfile=$bm.h5
+prefix=ssng-p0250-g0500
+
+#########
+
+echo "---------------------------------------------"
+var=variables/displacement/step00000
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0250m/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var \
+ --output=$prefix.disp-000.vtk
+
+
+#########
+
+echo "---------------------------------------------"
+t=step00000
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0250m/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var2 \
+ --output=$prefix.velo-000.vtk
+
diff --git a/figures/ssng-p0500-g0500.sh b/figures/ssng-p0500-g0500.sh
new file mode 100755
index 0000000..2901160
--- /dev/null
+++ b/figures/ssng-p0500-g0500.sh
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+bm=bmssnog
+bmfile=$bm.h5
+prefix=ssng-p0500-g0500
+
+#########
+
+echo "---------------------------------------------"
+var=variables/displacement/step00000
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var \
+ --output=$prefix.disp-000.vtk
+
+echo "---------------------------------------------"
+var=variables/displacement/step00010
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var \
+ --output=$prefix.disp-010.vtk
+
+echo "---------------------------------------------"
+var=variables/displacement/step00050
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var \
+ --output=$prefix.disp-050.vtk
+
+echo "---------------------------------------------"
+var=variables/displacement/step00100
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var \
+ --output=$prefix.disp-100.vtk
+
+#########
+
+echo "---------------------------------------------"
+t=step00000
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var2 \
+ --output=$prefix.velo-000.vtk
+
+echo "---------------------------------------------"
+t=step00010
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var2 \
+ --output=$prefix.velo-010.vtk
+
+echo "---------------------------------------------"
+t=step00050
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var2 \
+ --output=$prefix.velo-050.vtk
+
+echo "---------------------------------------------"
+t=step00100
+var1=variables/velocity/$t
+var2=variables/del_displacement/$t
+cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m_new_bc/$var1 \
+ --second=$bmfile:/geofest/${bm}_tet4_0500m/$var2 \
+ --output=$prefix.velo-100.vtk
+
More information about the CIG-COMMITS
mailing list