Changeset 5848 for anuga_validation/okushiri_2005/run_okushiri_parallel.py
- Timestamp:
- Oct 18, 2008, 9:31:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/run_okushiri_parallel.py
r5847 r5848 92 92 domain.set_boundary({'wave': Bts, 'wall': Br}) 93 93 94 # Select triangle containing ch5 for diagnostic output95 # around known gauge96 # This should get triangle id 32833 with centroid (4.5244, 1.1972) on one processor97 try:98 triangle_id = domain.get_triangle_containing_point([4.521, 1.196])99 except:100 triangle_id = None101 102 103 94 #------------------------- 104 95 # Evolve through time … … 111 102 domain.write_time() 112 103 113 if triangle_id is not None :114 print domain.timestepping_statistics(track_speeds=False,115 triangle_id=triangle_id)116 104 117 105 print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset
for help on using the changeset viewer.