- Timestamp:
- May 8, 2005, 11:50:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/Merimbula/run_merimbula_lake.py
r1292 r1295 4 4 Christopher Zoppou, Stephen Roberts, Ole Nielsen, Duncan Gray 5 5 Geoscience Australia, ANU 6 6 7 7 Specific methods pertaining to the 2D shallow water equation 8 8 are imported from shallow_water … … 25 25 from pmesh2domain import pmesh_to_domain_instance 26 26 from util import file_function, Polygon_function, read_polygon 27 from Numeric import zeros, Float 27 from Numeric import zeros, Float 28 28 29 29 #------- … … 36 36 37 37 #------------------------------------------ 38 # Reduction operation for get_vertex_values 38 # Reduction operation for get_vertex_values 39 39 from util import mean 40 domain.reduction = mean 40 domain.reduction = mean 41 41 42 42 #----------------- … … 176 176 # Initial water surface elevation 177 177 domain.set_quantity('stage', 0.0) 178 178 179 179 #---------------------------------------------------------- 180 180 # Decide which quantities are to be stored at each timestep … … 191 191 domain.default_order = 1 192 192 domain.visualise = True 193 domain.visualise_color_stage = True 194 domain.visualise_stage_range = 1.0 193 195 domain.smooth = True 194 196 195 197 #--------- 196 198 #Evolution … … 199 201 for t in domain.evolve(yieldstep = yieldstep, finaltime = finaltime): 200 202 domain.write_time() 201 203 202 204 print 'Done' 203 205 204 206
Note: See TracChangeset
for help on using the changeset viewer.