- Timestamp:
- Jul 6, 2005, 9:55:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/parallel/run_parallel_sw_merimbula.py
r1583 r1585 59 59 # mesh partition routines 60 60 61 from pmesh_divide import pmesh_divide 61 from pmesh_divide import pmesh_divide, pmesh_divide_steve 62 62 from build_submesh import * 63 63 from build_local import * … … 105 105 106 106 nodes, triangles, boundary, triangles_per_proc, quantities = \ 107 pmesh_divide (domain_full, nx, ny)107 pmesh_divide_steve(domain_full, nx, ny) 108 108 109 109 rect = array(domain_full.xy_extent, Float) … … 146 146 147 147 domain.initialise_visualiser(rect=rect,scale_z =0.1) 148 #domain.initialise_visualiser(rect=rect) 148 149 domain.visualise_color_stage = True 149 150 domain.default_order = 1 … … 156 157 domain.set_boundary( {'outflow': R, 'inflow': R, 'inner':R, 'exterior': R, 'open':R} ) 157 158 158 print quantities.keys() 159 159 160 domain.set_quantity('stage', quantities['stage']) 160 161 domain.set_quantity('elevation', quantities['elevation']) … … 163 164 # Evolution 164 165 t0 = time.time() 165 domain.visualise = True 166 167 print 'Processor %d No of elements %d'%(domain.processor,domain.number_of_elements) 166 168 yieldstep = 10.0 167 finaltime = 1000.0169 finaltime = 500.0 168 170 169 171 #yieldstep = 10 … … 173 175 if myid == 0: 174 176 domain.write_time() 175 print domain.quantities['stage']. centroid_values[0]177 print domain.quantities['stage'].get_integral() 176 178 177 179 if myid == 0:
Note: See TracChangeset
for help on using the changeset viewer.