Ignore:
Timestamp:
Nov 21, 2006, 8:36:47 PM (18 years ago)
Author:
jack
Message:

Moved the vpython visualiser to obsolete_code and cleared out things that call it from other code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4024 r4026  
    27752775        domain.geo_reference = Geo_reference(56,11,11)
    27762776        domain.smooth = False
    2777         domain.visualise = False
    27782777        domain.store = True
    27792778        domain.set_name('bedslope')
     
    28372836        #Now evolve them both, just to be sure
    28382837        ######################################x
    2839         visualise = False
    2840         #visualise = True
    2841         domain.visualise = visualise
    28422838        domain.time = 0.
    28432839        from time import sleep
     
    28502846
    28512847        for t in domain.evolve(yieldstep = yiel, finaltime = final):
    2852             if visualise: sleep(1.)
    28532848            #domain.write_time()
    28542849            pass
     
    28592854
    28602855        domain2.smooth = False
    2861         domain2.visualise = visualise
    28622856        domain2.store = False
    28632857        domain2.default_order=2
     
    28752869
    28762870        for t in domain2.evolve(yieldstep = yiel, finaltime = final):
    2877             if visualise: sleep(1.)
    28782871            #domain2.write_time()
    28792872            pass
     
    29162909        domain = Domain(points, vertices, boundary)
    29172910        domain.smooth = False
    2918         domain.visualise = False
    29192911        domain.store = True
    29202912        domain.set_name('test_file')
     
    30253017        domain.geo_reference = Geo_reference(56,11,11)
    30263018        domain.smooth = True
    3027         domain.visualise = False
    30283019        domain.store = True
    30293020        domain.set_name('bedslope')
     
    30933084        #Now evolve them both, just to be sure
    30943085        ######################################x
    3095         visualise = False
    3096         visualise = True
    3097         domain.visualise = visualise
    30983086        domain.time = 0.
    30993087        from time import sleep
     
    31053093
    31063094        for t in domain.evolve(yieldstep = yiel, finaltime = final):
    3107             if visualise: sleep(.03)
    31083095            #domain.write_time()
    31093096            pass
    31103097
    31113098        domain2.smooth = True
    3112         domain2.visualise = visualise
    31133099        domain2.store = False
    31143100        domain2.default_order=2
     
    31283114
    31293115        for t in domain2.evolve(yieldstep = yiel, finaltime = final):
    3130             if visualise: sleep(.03)
    31313116            #domain2.write_time()
    31323117            pass
Note: See TracChangeset for help on using the changeset viewer.