Ignore:
Timestamp:
May 26, 2005, 8:43:36 PM (19 years ago)
Author:
steve
Message:
 
Location:
inundation/ga/storm_surge/parallel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/parallel/advection.py

    r1471 r1472  
    5252        self.smooth = True
    5353
    54 
    55 
    5654    def initialise_visualiser(self,scale_z=1.0):
    5755        #Realtime visualisation
    58         self.visualiser = Visualiser(self,scale_z)
     56        if self.visualiser is None:
     57            self.visualiser = Visualiser(self,scale_z)
    5958        self.visualise = True
    6059
     
    314313        if self.visualise is True and self.time == 0.0:
    315314            #import realtime_visualisation_new as visualise
     315            self.initialise_visualiser()
    316316            self.visualiser.update_quantity('stage')
    317317            self.visualiser.update_timer()
  • inundation/ga/storm_surge/parallel/run_advection.py

    r1387 r1472  
    1818# Initial condition is zero by default
    1919
    20 domain.visualise = True
    21 domain.visualise_range_z = 0.5
     20#domain.initialise_visualiser(scale_z=1.0)
     21#domain.visualise_range_z = 0.5
    2222#domain.visualise_color_stage = True
    2323
     
    3535
    3636#Check that the boundary value gets propagated to all elements
    37 for t in domain.evolve(yieldstep = 0.01, finaltime = 1.5):
     37for t in domain.evolve(yieldstep = 0.1, finaltime = 1.5):
    3838    domain.write_time()
Note: See TracChangeset for help on using the changeset viewer.