Ignore:
Timestamp:
Aug 9, 2013, 4:30:31 PM (12 years ago)
Author:
steve
Message:

Some changes to bottineau files

Location:
trunk/anuga_core/source/anuga_parallel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/parallel_boyd_box_operator.py

    r8875 r8950  
    191191        # Get attribute from outflow enquiry point
    192192        if self.myid == self.master_proc:
     193           
    193194            if self.myid == self.enquiry_proc[self.outflow_index]:
    194195                outflow_enq_depth = self.inlets[self.outflow_index].get_enquiry_depth()
  • trunk/anuga_core/source/anuga_parallel/parallel_shallow_water.py

    r8664 r8950  
    229229
    230230        if myid == 0:
     231
     232            fig = plt.figure()
    231233            fx = {}
    232234            fy = {}
     
    252254                triang = num.array(range(0,3*n))
    253255                triang.shape = (n, 3)
    254                 plt.triplot(fx[i], fy[i], triang, 'g-')
     256                plt.triplot(fx[i], fy[i], triang, 'g-', linewidth = 0.5)
    255257
    256258            # Plot ghost triangles
     
    260262                    triang = num.array(range(0,3*n))
    261263                    triang.shape = (n, 3)
    262                     plt.triplot(gx[i], gy[i], triang, 'b--')
     264                    plt.triplot(gx[i], gy[i], triang, 'b--', linewidth = 0.5)
    263265
    264266            # Save triangulation to location pointed by filename
    265             plt.savefig(filename)
     267            plt.savefig(filename, dpi=600)
    266268
    267269        else:
  • trunk/anuga_core/source/anuga_parallel/parallel_structure_operator.py

    r8877 r8950  
    308308            gain = outflow_extra_depth*outflow_area
    309309
    310         # Update Stats
     310            # Update Stats
    311311            self.discharge  = Q#outflow_extra_depth*self.outflow.get_area()/timestep
    312312            self.velocity = barrel_speed#self.discharge/outlet_depth/self.width
  • trunk/anuga_core/source/anuga_parallel/run_parallel_sw_merimbula.py

    r8871 r8950  
    4343#--------------------------------------------------------------------------
    4444
    45 mesh_filename = "merimbula_10785_1.tsh" ; x0 = 756000.0 ; x1 = 756500.0; yieldstep = 10; finaltime = 1000
     45mesh_filename = "merimbula_10785_1.tsh" ; x0 = 756000.0 ; x1 = 756500.0; yieldstep = 10; finaltime = 10
    4646#mesh_filename = "merimbula_17156.tsh"   ; x0 = 756000.0 ; x1 = 756500.0; yieldstep = 50; finaltime = 500
    4747#mesh_filename = "merimbula_43200_1.tsh"   ; x0 = 756000.0 ; x1 = 756500.0; yieldstep = 50; finaltime = 500
     
    113113
    114114domain.set_flow_algorithm('2_0')
    115 #domain.set_store_vertices_smoothly(True)
    116 
    117 #domain.smooth = False
    118 #domain.set_default_order(2)
    119 #domain.set_timestepping_method('rk2')
    120 #domain.set_CFL(0.7)
    121 #domain.set_beta(1.5)
    122115
    123116
     
    197190domain.sww_merge(delete_old=False)
    198191
     192
     193domain.dump_triangulation()
     194
    199195finalize()
    200196
Note: See TracChangeset for help on using the changeset viewer.