[cig-commits] [commit] master: Updated script for visualization chapter figures. (44550de)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri May 9 15:23:43 PDT 2014
Repository : https://github.com/geodynamics/cigma
On branch : master
Link : https://github.com/geodynamics/cigma/compare/65c02138d3ae8b87c088cc14fe4f98e21e3f0805...a26f592c25c89a40622404999ba1effcdf6df9e3
>---------------------------------------------------------------
commit 44550de007a6cbef165045596bbf40fd084bc7be
Author: Luis Armendariz <luis>
Date: Wed Feb 6 21:06:08 2008 +0000
Updated script for visualization chapter figures.
>---------------------------------------------------------------
44550de007a6cbef165045596bbf40fd084bc7be
figures/rsng-p0500-g0500.sh | 34 +++++++++++++++++++++++++---------
figures/ssng-p0250-g0500.sh | 12 +++++++++---
2 files changed, 34 insertions(+), 12 deletions(-)
diff --git a/figures/rsng-p0500-g0500.sh b/figures/rsng-p0500-g0500.sh
index 65b3b29..8dec1c8 100755
--- a/figures/rsng-p0500-g0500.sh
+++ b/figures/rsng-p0500-g0500.sh
@@ -1,33 +1,41 @@
#!/bin/bash
bm=bmrsnog
-bmfile=$bm.h5
+bmfile=$HOME/benchmarks/$bm.h5
prefix=rsng-p0500-g0500
#########
echo "---------------------------------------------------------------"
var=variables/displacement/step00000
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--output=$prefix.disp-000.vtk
echo "---------------------------------------------------------------"
var=variables/displacement/step00010
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--output=$prefix.disp-010.vtk
echo "---------------------------------------------------------------"
var=variables/displacement/step00050
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--output=$prefix.disp-050.vtk
echo "---------------------------------------------------------------"
var=variables/displacement/step00100
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--output=$prefix.disp-100.vtk
#########
@@ -36,31 +44,39 @@ echo "---------------------------------------------------------------"
t=step00000
var1=variables/velocity/$t
var2=variables/del_displacement/$t
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--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 \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--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 \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--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 \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0500m/$var1 \
--second=$bmfile:/geofest/${bm}_tet4_0500m_A/$var2 \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
--output=$prefix.velo-100.vtk
diff --git a/figures/ssng-p0250-g0500.sh b/figures/ssng-p0250-g0500.sh
index 4fe09fd..a9fed0c 100755
--- a/figures/ssng-p0250-g0500.sh
+++ b/figures/ssng-p0250-g0500.sh
@@ -1,15 +1,18 @@
#!/bin/bash
bm=bmssnog
-bmfile=$bm.h5
+bmfile=$HOME/benchmarks/$bm.h5
prefix=ssng-p0250-g0500
#########
echo "---------------------------------------------"
var=variables/displacement/step00000
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0250m/$var \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0250m/$var \
--second=$bmfile:/geofest/${bm}_tet4_0500m/$var \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0250m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --verbose --output-frequency=10000 \
--output=$prefix.disp-000.vtk
@@ -19,7 +22,10 @@ echo "---------------------------------------------"
t=step00000
var1=variables/velocity/$t
var2=variables/del_displacement/$t
-cigma-compare --first=$bmfile:/pylith/${bm}_tet4_0250m/$var1 \
+cigma compare --first=$bmfile:/pylith/${bm}_tet4_0250m/$var1 \
--second=$bmfile:/geofest/${bm}_tet4_0500m/$var2 \
+ --first-mesh=$bmfile:/mesh/${bm}_tet4_0250m \
+ --second-mesh=$bmfile:/mesh/${bm}_tet4_0500m \
+ --verbose --output-frequency=10000 \
--output=$prefix.velo-000.vtk
More information about the CIG-COMMITS
mailing list