Changeset 1404


Ignore:
Timestamp:
May 16, 2005, 11:11:44 PM (20 years ago)
Author:
steve
Message:
 
Location:
inundation/ga/storm_surge
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/Hobart/run_hobart_buildings.py

    r1397 r1404  
    4242domain.default_order = 1
    4343domain.smooth = True
    44 domain.visualise = True
     44domain.visualise = False
    4545
    4646#------------------------------
     
    7979
    8080
    81 
    8281Friction = domain.quantities['friction']
    8382for triangle in domain.tagged_elements['Building']:
     
    8887
    8988
    90 
    91 
    9289######################
    9390#Evolution
     
    9693for t in domain.evolve(yieldstep = yieldstep, finaltime = finaltime):
    9794    domain.write_time()
    98     domain.visualiser.update_quantity_color('friction',(1.0,0.0,0.0))
     95    #domain.visualiser.update_quantity_color('friction',(1.0,0.0,0.0))
    9996
    10097print 'That took %.2f seconds' %(time.time()-t0)
    101 
  • inundation/ga/storm_surge/parallel/run_parallel_advection.py

    r1402 r1404  
    99from Numeric import array
    1010
    11 N = 40
    12 M = 40
     11N = 30
     12M = 30
    1313
    14 points, vertices, boundary, ghosts = rectangular_periodic_lr(N, M)
     14points, vertices, boundary, ghosts = rectangular_periodic(N, M)
    1515
    1616#Create advection domain with direction (1,-1)
  • inundation/ga/storm_surge/pyvolution/netherlands.py

    r1393 r1404  
    156156t0 = time.time()
    157157
    158 from visual import *
    159158
    160159for t in domain.evolve(yieldstep = 0.1, finaltime = 15.0):
Note: See TracChangeset for help on using the changeset viewer.