- Timestamp:
- Apr 3, 2009, 8:26:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga_parallel/run_parallel_advection.py
r5763 r6721 50 50 processor_name = pypar.Get_processor_name() 51 51 52 N = 10053 M = 10052 N = 5 53 M = 2 54 54 55 55 ####################### … … 62 62 points, vertices, boundary, full_send_dict, ghost_recv_dict = \ 63 63 parallel_rectangle(N, M, len1_g=1.0) 64 65 #print 'ghost ',ghost_recv_dict 66 #print 'full ',full_send_dict 67 68 64 69 65 70 print "Myid = ", myid, "no points = ", len(points), \ … … 75 80 domain = Parallel_Domain(points, vertices, boundary, 76 81 full_send_dict, ghost_recv_dict, velocity=[1.0, 0.0]) 82 83 #print 'ghost ',ghost_recv_dict 84 #print 'full ',full_send_dict 85 77 86 78 87 # Boundaries … … 116 125 from anuga.visualiser import RealtimeVisualiser 117 126 vis = RealtimeVisualiser(domain) 118 #vis.render_quantity_height("elevation", offset=0.01, dynamic=False) 119 vis.render_quantity_height("stage", dynamic=True) 127 vis.render_quantity_height("stage", zScale = 5.0, dynamic=True) 120 128 vis.colour_height_quantity('stage', (0.2, 0.2, 0.8)) 121 129 vis.start()
Note: See TracChangeset
for help on using the changeset viewer.