Changeset 8599


Ignore:
Timestamp:
Nov 6, 2012, 9:45:46 PM (12 years ago)
Author:
steve
Message:

Updating changes in windows

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/test_util.py

    r8124 r8599  
    985985        fid = open(filename + '.txt', 'w')
    986986        start = time.mktime(time.strptime('2000', '%Y'))
     987       
     988        #print 'start ',start
     989       
    987990        dt = 60  #One minute intervals
    988991        t = 0.0
     
    10071010        vertices = [[0,1,2]]
    10081011        domain = Domain(points, vertices)
    1009 
     1012        #print domain.starttime, start
     1013               
    10101014        # Check that domain.starttime is updated if non-existing
    10111015        F = file_function(filename + '.tms',
    10121016                          domain,
    10131017                          quantities = ['Attribute0', 'Attribute1', 'Attribute2']) 
     1018                         
     1019                         
     1020        #print domain.starttime, start
    10141021        assert num.allclose(domain.starttime, start)
    10151022
  • trunk/anuga_core/source/anuga/operators/run_set_stage.py

    r8475 r8599  
    2929domain = anuga.rectangular_cross_domain(int(L/dx), int(W/dy), L, W, (-L/2.0, -W/2.0))
    3030
     31
     32print domain.starttime
    3133
    3234output_file = 'set_stage'
  • trunk/anuga_core/source/anuga_parallel/documentation/report.tex

    r8191 r8599  
    2222%\usepackage{url} %Already defined in manual
    2323\usepackage{graphicx}
     24%\usepackage{epstopdf}
    2425
    2526%\input{definitions}
  • trunk/anuga_work/development/2010-projects/anuga_1d/compile_all.py

    r8239 r8599  
    3333execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
    3434
    35 os.chdir('..')
    36 os.chdir('sqpipe')
    37 execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
     35#os.chdir('..')
     36#os.chdir('sqpipe')
     37#execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
    3838
    3939
  • trunk/anuga_work/development/2010-projects/anuga_1d/sww/1dprofile_dispersion.py

    r8252 r8599  
    106106
    107107# Set final time and yield time for simulation
    108 finaltime = 1.0
    109 yieldstep = 1.0
     108finaltime = 2000.0
     109yieldstep = 100.0
    110110
     111#import pdb; pdb.set_trace()
    111112#===================================================================
    112113# Time loop
     
    122123
    123124import pylab
    124 pylab.ion()
     125pylab.ioff()
    125126
    126127x = domain.get_vertices().flatten()
     
    163164
    164165uplot = pylab.plot(x, u, 'k')
    165 pylab.draw()
    166166
    167167#plot2.set_ylim(width_lim)
     
    172172#pylab.savefig('figure4.pdf')
    173173pylab.show()
     174
     175
    174176   
    175    
     177#raw_input('Press any key:')
    176178
  • trunk/anuga_work/development/2010-projects/anuga_1d/sww/sww_domain.py

    r8251 r8599  
    161161        #self.flux_timestep = comp_flux_ext(timestep,self,stage,xmom,bed)
    162162
    163         from anuga_1d.sww.sww_vel_comp_flux_ext import compute_fluxes_vel_ext as comp_flux_ext
     163        from anuga_1d.sww.sww_well_comp_flux_ext import compute_fluxes_vel_ext as comp_flux_ext
    164164        self.flux_timestep = comp_flux_ext(timestep,self,stage,xmom,bed,height,velocity)
    165165
Note: See TracChangeset for help on using the changeset viewer.