[cig-commits] r22820 - seismo/3D/SPECFEM3D/trunk/CUBIT_GEOCUBIT
dkomati1 at geodynamics.org
dkomati1 at geodynamics.org
Fri Sep 20 12:16:28 PDT 2013
Author: dkomati1
Date: 2013-09-20 12:16:27 -0700 (Fri, 20 Sep 2013)
New Revision: 22820
Modified:
seismo/3D/SPECFEM3D/trunk/CUBIT_GEOCUBIT/run_cubit2specfem3d.py
Log:
put the command to load the modules after the line defining the path to the directory where they are stored
Modified: seismo/3D/SPECFEM3D/trunk/CUBIT_GEOCUBIT/run_cubit2specfem3d.py
===================================================================
--- seismo/3D/SPECFEM3D/trunk/CUBIT_GEOCUBIT/run_cubit2specfem3d.py 2013-09-20 19:15:14 UTC (rev 22819)
+++ seismo/3D/SPECFEM3D/trunk/CUBIT_GEOCUBIT/run_cubit2specfem3d.py 2013-09-20 19:16:27 UTC (rev 22820)
@@ -1,7 +1,5 @@
#!/usr/bin/env python
-import boundary_definition
-import cubit2specfem3d
import os
import sys
@@ -11,6 +9,8 @@
# let us also add the local GEOCUBIT library
sys.path.append("./geocubitlib")
+import boundary_definition
+import cubit2specfem3d
# define the name of the CUBIT file to convert to SPECFEM format in the line below
#cubit.cmd('open "large_test_cpml.cub"')
More information about the CIG-COMMITS
mailing list