[cig-commits] [commit] devel, master: removed the Python header I had added to homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/create_mesh.py, since it is unneeded and was leading to warnings at run time (e1bcf45)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 18 16:54:59 PDT 2014
Repository : https://github.com/geodynamics/specfem3d
On branches: devel,master
Link : https://github.com/geodynamics/specfem3d/compare/6026e367984905ab133865f62fa6293b343759b9...47f703851338234f96397e7da9fbff63d8178b8a
>---------------------------------------------------------------
commit e1bcf45fba976398509239f8ca07e29f9afd9719
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date: Sat Jun 7 14:27:06 2014 +0200
removed the Python header I had added to homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/create_mesh.py, since it is unneeded and was leading to warnings at run time
>---------------------------------------------------------------
e1bcf45fba976398509239f8ca07e29f9afd9719
.../create_mesh.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/create_mesh.py b/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/create_mesh.py
index 3e30aaf..7e8c825 100755
--- a/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/create_mesh.py
+++ b/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/create_mesh.py
@@ -1,17 +1,8 @@
-#!python
-#!/usr/bin/env python
# "create_mesh.py" is a script that generates mesh specific to homogenous halfspace example
# i.e., a uniform mesh of 134 km x 134 km x 60 km with an element size 3.75 km.
# It is not applicable to other examples.
-import cubit
-import boundary_definition
-import cubit2specfem3d
-
-import os
-import sys
-
cubit.cmd('reset')
cubit.cmd('brick x 67000 y 134000 z 60000')
cubit.cmd('volume 1 move x 33500 y 67000 z -30000')
More information about the CIG-COMMITS
mailing list