Changeset 2786 for inundation/parallel/documentation/code
- Timestamp:
- May 1, 2006, 10:36:09 AM (19 years ago)
- Location:
- inundation/parallel/documentation/code
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/parallel/documentation/code/RunParallelAdvection.py
r2785 r2786 86 86 T = Transmissive_boundary(domain) 87 87 domain.default_order = 2 88 domain.set_boundary( {'left': T, 'right': T, 'bottom': T, 'top': T, 'ghost': None} ) 88 domain.set_boundary( {'left': T, 'right': T, 'bottom': T, 'top': T, \ 89 'ghost': None} ) 89 90 90 91 # Ensure that the domain definitions make sense … … 112 113 if myid == 0: 113 114 print 'That took %.2f seconds' %(time.time()-t0) 114 print 'Communication time %.2f seconds'%domain.communication_time 115 print 'Reduction Communication time %.2f seconds'%domain.communication_reduce_time 115 print 'Communication time %.2f seconds'\ 116 %domain.communication_time 117 print 'Reduction Communication time %.2f seconds'\ 118 %domain.communication_reduce_time -
inundation/parallel/documentation/code/RunParallelMerimbulaMetis.py
r2785 r2786 96 96 rect = array(domain_full.xy_extent, Float) 97 97 98 # Subdivide the mes 98 # Subdivide the mesh 99 99 100 100 nodes, triangles, boundary, triangles_per_proc, quantities =\ … … 154 154 T = Transmissive_boundary(domain) 155 155 #R = Reflective_boundary(domain) 156 domain.set_boundary( {'outflow': T, 'inflow': T, 'inner':T, 'exterior': T, 'open':T, 'ghost':None} ) 156 domain.set_boundary( {'outflow': T, 'inflow': T, 'inner':T, \ 157 'exterior': T, 'open':T, 'ghost':None} ) 157 158 158 159 # Set the initial quantities -
inundation/parallel/documentation/code/RunParallelSwMerimbulaMetis.py
r2785 r2786 189 189 print 'That took %.2f seconds' %(time.time()-t0) 190 190 print 'Communication time %.2f seconds'%domain.communication_time 191 print 'Reduction Communication time %.2f seconds'%domain.communication_reduce_time 192 print 'Broadcast time %.2f seconds'%domain.communication_broadcast_time 191 print 'Reduction Communication time %.2f seconds'\ 192 %domain.communication_reduce_time 193 print 'Broadcast time %.2f seconds'\ 194 %domain.communication_broadcast_time
Note: See TracChangeset
for help on using the changeset viewer.