[cig-commits] r9255 - doc/cigma/manual/figures
luis at geodynamics.org
luis at geodynamics.org
Wed Feb 6 13:06:08 PST 2008
Author: luis
Date: 2008-02-06 13:06:08 -0800 (Wed, 06 Feb 2008)
New Revision: 9255
Added:
doc/cigma/manual/figures/old/
doc/cigma/manual/figures/scripts/
Modified:
doc/cigma/manual/figures/rsng-p0500-g0500.sh
doc/cigma/manual/figures/ssng-p0250-g0500.sh
Log:
Updated script for visualization chapter figures.
Modified: doc/cigma/manual/figures/rsng-p0500-g0500.sh
===================================================================
--- doc/cigma/manual/figures/rsng-p0500-g0500.sh 2008-02-06 19:38:15 UTC (rev 9254)
+++ doc/cigma/manual/figures/rsng-p0500-g0500.sh 2008-02-06 21:06:08 UTC (rev 9255)
@@ -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 @@
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
Modified: doc/cigma/manual/figures/ssng-p0250-g0500.sh
===================================================================
--- doc/cigma/manual/figures/ssng-p0250-g0500.sh 2008-02-06 19:38:15 UTC (rev 9254)
+++ doc/cigma/manual/figures/ssng-p0250-g0500.sh 2008-02-06 21:06:08 UTC (rev 9255)
@@ -1,16 +1,19 @@
#!/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 \
- --output=$prefix.disp-000.vtk
+ --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 @@
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