Changeset 2133
- Timestamp:
- Dec 8, 2005, 9:08:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/gippsland_2005/run_gippsland.py
r2121 r2133 8 8 from pyvolution.pmesh2domain import pmesh_to_domain_instance 9 9 from caching import cache 10 import project11 10 from create_mesh import create_mesh 12 11 from pyvolution.shallow_water import Domain, Reflective_boundary,\ 13 12 File_boundary, Dirichlet_boundary, Time_boundary, Transmissive_boundary 14 13 from pyvolution.least_squares import fit_to_mesh_file, DEFAULT_ALPHA 14 15 # Import this last! It stuffs up the loading of c extensions otherwise. 16 import project 15 17 16 18 #Data preparation … … 56 58 #Create the mesh without elevation data 57 59 # 100000 very course 58 meshname, triagle_count = cache(create_mesh,( 5000),60 meshname, triagle_count = cache(create_mesh,(100000), 59 61 {'mesh_file':meshname, 60 62 'triangles_in_name':True} … … 127 129 t0 = time.time() 128 130 129 for t in domain.evolve(yieldstep = 60, finaltime = 3000): 131 #for t in domain.evolve(yieldstep = 60, finaltime = 3000): 132 for t in domain.evolve(yieldstep = 10, finaltime = 30): 130 133 # skip_initial_step = True): 131 134 domain.write_time()
Note: See TracChangeset
for help on using the changeset viewer.