Changeset 2147 for production
- Timestamp:
- Dec 15, 2005, 2:40:28 PM (19 years ago)
- Location:
- production/gippsland_2005
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/gippsland_2005/run_gippsland.py
r2146 r2147 4 4 # #name does not have the extension 5 5 6 import time 7 6 8 from pyvolution.data_manager import convert_dem_from_ascii2netcdf,\ 7 9 dem2pts, asc_csiro2sww 8 10 from pyvolution.pmesh2domain import pmesh_to_domain_instance 9 11 from caching import cache 10 from create_mesh import create_mesh12 from create_mesh2 import create_mesh 11 13 from pyvolution.shallow_water import Domain, Reflective_boundary,\ 12 14 File_boundary, Dirichlet_boundary, Time_boundary, Transmissive_boundary … … 56 58 outputname = project.outputname 57 59 60 t0 = time.time() 58 61 #Create the mesh without elevation data 59 62 # 100000 very course - 16,827 triangle mesh 60 63 # 50000 seems to be a show stopper - 333,756 triangle mesh 61 meshname, triagle_count = cache(create_mesh,( 50000),64 meshname, triagle_count = cache(create_mesh,(100002), 62 65 {'mesh_file':meshname, 63 66 'triangles_in_name':True} 64 ,dependencies = ['create_mesh .py']67 ,dependencies = ['create_mesh2.py'] 65 68 #,evaluate = True 66 69 ) … … 85 88 ,verbose = False 86 89 ) 87 90 91 print 'Initialising the mesh took %.2f seconds' %(time.time()-t0) 88 92 89 93 #Setup domain … … 127 131 128 132 #Evolve 129 import time130 133 t0 = time.time() 131 134
Note: See TracChangeset
for help on using the changeset viewer.