Changeset 2147


Ignore:
Timestamp:
Dec 15, 2005, 2:40:28 PM (18 years ago)
Author:
duncan
Message:

scenario

Location:
production/gippsland_2005
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • production/gippsland_2005/run_gippsland.py

    r2146 r2147  
    44#           #name does not have the extension
    55
     6import time
     7
    68from pyvolution.data_manager import convert_dem_from_ascii2netcdf,\
    79     dem2pts, asc_csiro2sww
    810from pyvolution.pmesh2domain import pmesh_to_domain_instance
    911from caching import cache
    10 from create_mesh import create_mesh
     12from create_mesh2 import create_mesh
    1113from pyvolution.shallow_water import Domain, Reflective_boundary,\
    1214     File_boundary, Dirichlet_boundary, Time_boundary, Transmissive_boundary
     
    5658outputname = project.outputname
    5759
     60t0 = time.time()
    5861#Create the mesh without elevation data
    5962# 100000 very course - 16,827 triangle mesh
    6063# 50000 seems to be a show stopper - 333,756 triangle mesh
    61 meshname, triagle_count = cache(create_mesh,(50000),
     64meshname, triagle_count = cache(create_mesh,(100002),
    6265                      {'mesh_file':meshname,
    6366                       'triangles_in_name':True}
    64                       ,dependencies = ['create_mesh.py']
     67                      ,dependencies = ['create_mesh2.py']
    6568                      #,evaluate = True     
    6669                      )
     
    8588      ,verbose = False
    8689      )
    87    
     90 
     91print 'Initialising the mesh took %.2f seconds' %(time.time()-t0) 
    8892
    8993#Setup domain
     
    127131
    128132#Evolve
    129 import time
    130133t0 = time.time()
    131134
Note: See TracChangeset for help on using the changeset viewer.