Ignore:
Timestamp:
May 8, 2005, 11:50:32 PM (19 years ago)
Author:
steve
Message:

Playing with coloured surfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/Merimbula/run_merimbula_lake.py

    r1292 r1295  
    44   Christopher Zoppou, Stephen Roberts, Ole Nielsen, Duncan Gray
    55   Geoscience Australia, ANU
    6    
     6
    77Specific methods pertaining to the 2D shallow water equation
    88are imported from shallow_water
     
    2525from pmesh2domain import pmesh_to_domain_instance
    2626from util import file_function, Polygon_function, read_polygon
    27 from Numeric import zeros, Float 
     27from Numeric import zeros, Float
    2828
    2929#-------
     
    3636
    3737#------------------------------------------
    38 # Reduction operation for get_vertex_values             
     38# Reduction operation for get_vertex_values
    3939from util import mean
    40 domain.reduction = mean 
     40domain.reduction = mean
    4141
    4242#-----------------
     
    176176# Initial water surface elevation
    177177domain.set_quantity('stage', 0.0)
    178    
     178
    179179#----------------------------------------------------------
    180180# Decide which quantities are to be stored at each timestep
     
    191191domain.default_order = 1
    192192domain.visualise = True
     193domain.visualise_color_stage = True
     194domain.visualise_stage_range = 1.0
    193195domain.smooth = True
    194          
     196
    195197#---------
    196198#Evolution
     
    199201for t in domain.evolve(yieldstep = yieldstep, finaltime = finaltime):
    200202    domain.write_time()
    201    
     203
    202204print 'Done'
    203205
    204    
     206
Note: See TracChangeset for help on using the changeset viewer.