Changeset 5848


Ignore:
Timestamp:
Oct 18, 2008, 9:31:36 PM (16 years ago)
Author:
steve
Message:
 
Location:
anuga_validation/okushiri_2005
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/okushiri_2005/run_okushiri.py

    r5847 r5848  
    9393
    9494for t in domain.evolve(yieldstep = 0.05, finaltime = 22.5):
    95     print domain.timestepping_statistics(track_speeds=False,
    96                                          triangle_id=triangle_id)
     95    domain.write_time()
    9796
    9897print 'That took %.2f seconds' %(time.time()-t0)
  • anuga_validation/okushiri_2005/run_okushiri_parallel.py

    r5847 r5848  
    9292domain.set_boundary({'wave': Bts, 'wall': Br})
    9393
    94 # Select triangle containing ch5 for diagnostic output
    95 # around known gauge
    96 # This should get triangle id 32833 with centroid (4.5244, 1.1972) on one processor
    97 try:
    98     triangle_id = domain.get_triangle_containing_point([4.521, 1.196])
    99 except:
    100     triangle_id = None
    101 
    102 
    10394#-------------------------
    10495# Evolve through time
     
    111102        domain.write_time()
    112103
    113     if triangle_id is not None :
    114         print domain.timestepping_statistics(track_speeds=False,
    115                                              triangle_id=triangle_id)
    116104
    117105print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset for help on using the changeset viewer.