Changeset 8245


Ignore:
Timestamp:
Nov 8, 2011, 2:14:10 PM (12 years ago)
Author:
steve
Message:

Moved shallow_water_balanced to anuga_work directory

Location:
trunk/anuga_work
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/2010-projects/anuga_1d/channel/channel_domain.py

    r8241 r8245  
    174174        self.plot1 = pylab.subplot(311)
    175175
    176         self.zplot, = pylab.plot(x, z)
    177         self.wplot, = pylab.plot(x, w)
     176        self.zplot, = pylab.plot(x, z, 'k')
     177        self.wplot, = pylab.plot(x, w, 'k')
    178178
    179179        self.plot1.set_ylim(stage_lim)
    180180        #pylab.xlabel('Position')
    181         pylab.ylabel('Stage')
     181        pylab.ylabel('Bed/Stage')
    182182
    183183        #-------------------------------
     
    186186        self.plot2 = pylab.subplot(312)
    187187
    188         self.bplot, = pylab.plot(x, b)
     188        self.bplot, = pylab.plot(x, b, 'k')
    189189
    190190        self.plot2.set_ylim(width_lim)
     
    197197        self.plot3 = pylab.subplot(313)
    198198
    199         self.vplot, = pylab.plot(x, v)
     199        self.vplot, = pylab.plot(x, v, 'k')
    200200
    201201        self.plot3.set_ylim(velocity_lim)
  • trunk/anuga_work/development/2010-projects/anuga_1d/channel/circular_test.py

    r8242 r8245  
    1515
    1616
    17 def initialize_plotting(domain, style = '-',
     17def initialize_plotting(domain, style = '-k',
    1818                        stage_lim = [-1.0, 40.0],
    1919                        velocity_lim = [-5.0, 5.0]):
     
    178178yieldstep = 0.2
    179179
    180 initialize_plotting(domain, style = '.', stage_lim = [0.0, 16.0],
     180initialize_plotting(domain, style = '.k', stage_lim = [0.0, 16.0],
    181181                            velocity_lim = [-10.0, 10.0])
    182182
     
    190190#-------------------------------------------------------------
    191191
    192 domain1 = Domain(*uniform_mesh(5000, x_0 = 0.0, x_1 = 100.0))
     192domain1 = Domain(*uniform_mesh(1000, x_0 = 0.0, x_1 = 100.0))
    193193
    194194
     
    221221
    222222
    223 hold_plotting(domain1, save="circular_dam_break_not_well_balanced")
    224 
    225 
    226 
    227 
     223hold_plotting(domain1, save="circular_dam_break_well_balanced")
     224
     225
     226
     227
  • trunk/anuga_work/development/2010-projects/anuga_1d/channel/var_width_depth.py

    r8241 r8245  
    115115domain.initialize_plotting(stage_lim = [-1.0, 20.0],
    116116                           width_lim = [0.0, 6.0],
    117                            velocity_lim = [-1.0, 1.0])
     117                           velocity_lim = [-15.0, 15.0])
    118118
    119119
     
    125125#print domain.quantities['elevation'].vertex_values
    126126
    127 domain.hold_plotting()
     127domain.hold_plotting(save='not_well_balanced_random_depth_and_width')
    128128
Note: See TracChangeset for help on using the changeset viewer.