[cig-commits] [commit] baagaard/fix-meshing-examples-trelis: Cleanup of APREPRO lines. (c88c85a)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sun Jun 22 10:38:26 PDT 2014


Repository : https://github.com/geodynamics/pylith

On branch  : baagaard/fix-meshing-examples-trelis
Link       : https://github.com/geodynamics/pylith/compare/70cf4b4dc873491035c0af1663fe74ce8b7a23a5...cc342c0456ea2a854f51376caac37ab2727d2ff6

>---------------------------------------------------------------

commit c88c85a571e9f744da12568f74919354c1eb119e
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Sun Jun 22 10:33:55 2014 -0700

    Cleanup of APREPRO lines.


>---------------------------------------------------------------

c88c85a571e9f744da12568f74919354c1eb119e
 examples/meshing/cubit_cellsize/geometry.jou             | 14 +++++++-------
 examples/meshing/cubit_cellsize/mesh_cellsize.jou        |  2 +-
 examples/meshing/cubit_cellsize/mesh_size_analyticfn.jou |  8 ++++----
 examples/meshing/cubit_cellsize/mesh_size_spatialdb.jou  |  8 ++++----
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/examples/meshing/cubit_cellsize/geometry.jou b/examples/meshing/cubit_cellsize/geometry.jou
index 4488498..4cd0177 100644
--- a/examples/meshing/cubit_cellsize/geometry.jou
+++ b/examples/meshing/cubit_cellsize/geometry.jou
@@ -25,7 +25,7 @@
 # ----------------------------------------------------------------------
 # Set units to SI.
 # ----------------------------------------------------------------------
-# {Units('si')}
+${Units('si')}
 #
 # ----------------------------------------------------------------------
 # Reset geometry.
@@ -39,12 +39,12 @@ undo off
 # Create block
 # ----------------------------------------------------------------------
 # Block is 100 km x 100 km x 50 km
-#{blockLength=100.0*km}
-#{blockWidth=100.0*km}
-#{blockHeight=50.0*km}
+${blockLength=100.0*km}
+${blockWidth=100.0*km}
+${blockHeight=50.0*km}
 
 brick x {blockLength} y {blockWidth} z {blockHeight}
-#{idVol=Id("volume")}
+${idVol=Id("volume")}
 
 # Translate block so the top is at z=0
 volume {idVol} move x {domain_x} y {domain_y} z {-0.5*blockHeight}
@@ -53,10 +53,10 @@ volume {idVol} move x {domain_x} y {domain_y} z {-0.5*blockHeight}
 # Create interface surfaces
 # ----------------------------------------------------------------------
 create planar surface with plane xplane offset 0
-#{idFault=Id("surface")}
+${idFault=Id("surface")}
 surface {idFault} name "fault_surface"
 create planar surface with plane zplane offset {-20.0*km}
-#{idMoho=Id("surface")}
+${idMoho=Id("surface")}
 surface {idMoho} name "material_interface"
 
 # ----------------------------------------------------------------------
diff --git a/examples/meshing/cubit_cellsize/mesh_cellsize.jou b/examples/meshing/cubit_cellsize/mesh_cellsize.jou
index 6b6e020..d335387 100644
--- a/examples/meshing/cubit_cellsize/mesh_cellsize.jou
+++ b/examples/meshing/cubit_cellsize/mesh_cellsize.jou
@@ -27,7 +27,7 @@ playback 'geometry.jou'
 # Create tet4 mesh at 4.0 km resolution.
 # ----------------------------------------------------------------------
 
-#{dx=4.0*km}
+${dx=4.0*km}
 volume all size {dx}
 volume all scheme tetmesh
 
diff --git a/examples/meshing/cubit_cellsize/mesh_size_analyticfn.jou b/examples/meshing/cubit_cellsize/mesh_size_analyticfn.jou
index d95d4f6..bd70647 100644
--- a/examples/meshing/cubit_cellsize/mesh_size_analyticfn.jou
+++ b/examples/meshing/cubit_cellsize/mesh_size_analyticfn.jou
@@ -44,13 +44,13 @@ mesh volume all
 # ----------------------------------------------------------------------
 # Smooth mesh to improve quality
 # ----------------------------------------------------------------------
-#{condnum=2.0}
-#{loop(4)}
+${condnum=2.0}
+${loop(4)}
 cleanup volume all
 volume all smooth scheme condition number beta {condnum} cpu 10
 smooth volume all
-#{condnum=condnum-0.1}
-#{endloop}
+${condnum=condnum-0.1}
+${endloop}
 
 # ----------------------------------------------------------------------
 # Export exodus file
diff --git a/examples/meshing/cubit_cellsize/mesh_size_spatialdb.jou b/examples/meshing/cubit_cellsize/mesh_size_spatialdb.jou
index d96b011..e7e1f28 100644
--- a/examples/meshing/cubit_cellsize/mesh_size_spatialdb.jou
+++ b/examples/meshing/cubit_cellsize/mesh_size_spatialdb.jou
@@ -44,13 +44,13 @@ mesh volume all
 # ----------------------------------------------------------------------
 # Smooth mesh to improve quality
 # ----------------------------------------------------------------------
-#{condnum=2.0}
-#{loop(4)}
+${condnum=2.0}
+${loop(4)}
 cleanup volume all
 volume all smooth scheme condition number beta {condnum} cpu 10
 smooth volume all
-#{condnum=condnum-0.1}
-#{endloop}
+${condnum=condnum-0.1}
+${endloop}
 
 # ----------------------------------------------------------------------
 # Export exodus file



More information about the CIG-COMMITS mailing list