[cig-commits] r21084 - seismo/3D/FAULT_SOURCE/branches/new_fault_db/EXAMPLES/tohoku

surendra at geodynamics.org surendra at geodynamics.org
Wed Nov 28 10:49:23 PST 2012


Author: surendra
Date: 2012-11-28 10:49:23 -0800 (Wed, 28 Nov 2012)
New Revision: 21084

Modified:
   seismo/3D/FAULT_SOURCE/branches/new_fault_db/EXAMPLES/tohoku/mesh_japan.py
Log:
Updated japan script so as to get non-zero slip

Modified: seismo/3D/FAULT_SOURCE/branches/new_fault_db/EXAMPLES/tohoku/mesh_japan.py
===================================================================
--- seismo/3D/FAULT_SOURCE/branches/new_fault_db/EXAMPLES/tohoku/mesh_japan.py	2012-11-28 07:23:44 UTC (rev 21083)
+++ seismo/3D/FAULT_SOURCE/branches/new_fault_db/EXAMPLES/tohoku/mesh_japan.py	2012-11-28 18:49:23 UTC (rev 21084)
@@ -7,7 +7,7 @@
 import sys
 from save_fault_nodes_elements import *
 from absorbing_boundary import *
-from functions import m2km
+from functions import *
 
 cubit.cmd('reset')
 
@@ -213,3 +213,10 @@
 ### Changing nodes_coords_file to meters. 
  
 # all files needed by SCOTCH are now in directory MESH 
+
+file_nodes_coord = 'MESH/nodes_coords_file'
+fault_file =       'MESH/fault_file_1.dat'
+name_out = 'MESH/nodes_coords_file_open_fault'
+fsideu   = 'MESH/fault_sideu.dat'
+fsided   = 'MESH/fault_sided.dat'
+nodes_coords_fault_open(file_nodes_coord,fault_file,name_out,fsideu,fsided,delta)



More information about the CIG-COMMITS mailing list