[cig-commits] [commit] devel: fix label for side block (badb9eb)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu Nov 13 09:50:10 PST 2014
Repository : https://github.com/geodynamics/specfem3d
On branch : devel
Link : https://github.com/geodynamics/specfem3d/compare/e0c8b9d03169aa767e907d9a0a6ae43d528883ca...90e056993245e43d3c7021b09f694cd01d707c9e
>---------------------------------------------------------------
commit badb9ebf079f9676ee512970bc34a6e275c8394e
Author: emanuele casarotti <casarotti at tiscali.it>
Date: Thu Nov 13 18:05:55 2014 +0100
fix label for side block
this option fix a misalignment in the side block id (boundary_definition and cubit2specfem3d)
the homogeneous_halfspace mesh generation was broken
>---------------------------------------------------------------
badb9ebf079f9676ee512970bc34a6e275c8394e
CUBIT_GEOCUBIT/geocubitlib/boundary_definition.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/CUBIT_GEOCUBIT/geocubitlib/boundary_definition.py b/CUBIT_GEOCUBIT/geocubitlib/boundary_definition.py
index 18a1a31..5567616 100755
--- a/CUBIT_GEOCUBIT/geocubitlib/boundary_definition.py
+++ b/CUBIT_GEOCUBIT/geocubitlib/boundary_definition.py
@@ -361,14 +361,14 @@ def define_bc(*args,**keys):
print "no abs_xmin surface found, please create block manually..."
print ""
else:
- build_block_side(xmin,entity+'_abs_xmin',obj=entity,id_0=1002)
+ build_block_side(xmin,entity+'_abs_xmin',obj=entity,id_0=1003)
# xmax - blocks
if len(xmax) == 0:
print ""
print "no abs_xmax surface found, please create block manually..."
print ""
else:
- build_block_side(xmax,entity+'_abs_xmax',obj=entity,id_0=1003)
+ build_block_side(xmax,entity+'_abs_xmax',obj=entity,id_0=1005)
# ymin - blocks
if len(ymin) == 0:
print ""
@@ -382,14 +382,14 @@ def define_bc(*args,**keys):
print "no abs_ymax surface found, please create block manually..."
print ""
else:
- build_block_side(ymax,entity+'_abs_ymax',obj=entity,id_0=1005)
+ build_block_side(ymax,entity+'_abs_ymax',obj=entity,id_0=1006)
# bottom - blocks
if len(bottom_surf) == 0:
print ""
print "no abs_bottom surface found, please create block manually..."
print ""
else:
- build_block_side(bottom_surf,entity+'_abs_bottom',obj=entity,id_0=1006)
+ build_block_side(bottom_surf,entity+'_abs_bottom',obj=entity,id_0=1002)
# block for all sides together
# NOTE:
# this might fail in some CUBIT versions, when elements are already
More information about the CIG-COMMITS
mailing list