Changeset 8599
- Timestamp:
- Nov 6, 2012, 9:45:46 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/test_util.py
r8124 r8599 985 985 fid = open(filename + '.txt', 'w') 986 986 start = time.mktime(time.strptime('2000', '%Y')) 987 988 #print 'start ',start 989 987 990 dt = 60 #One minute intervals 988 991 t = 0.0 … … 1007 1010 vertices = [[0,1,2]] 1008 1011 domain = Domain(points, vertices) 1009 1012 #print domain.starttime, start 1013 1010 1014 # Check that domain.starttime is updated if non-existing 1011 1015 F = file_function(filename + '.tms', 1012 1016 domain, 1013 1017 quantities = ['Attribute0', 'Attribute1', 'Attribute2']) 1018 1019 1020 #print domain.starttime, start 1014 1021 assert num.allclose(domain.starttime, start) 1015 1022 -
trunk/anuga_core/source/anuga/operators/run_set_stage.py
r8475 r8599 29 29 domain = anuga.rectangular_cross_domain(int(L/dx), int(W/dy), L, W, (-L/2.0, -W/2.0)) 30 30 31 32 print domain.starttime 31 33 32 34 output_file = 'set_stage' -
trunk/anuga_core/source/anuga_parallel/documentation/report.tex
r8191 r8599 22 22 %\usepackage{url} %Already defined in manual 23 23 \usepackage{graphicx} 24 %\usepackage{epstopdf} 24 25 25 26 %\input{definitions} -
trunk/anuga_work/development/2010-projects/anuga_1d/compile_all.py
r8239 r8599 33 33 execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') 34 34 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') 38 38 39 39 -
trunk/anuga_work/development/2010-projects/anuga_1d/sww/1dprofile_dispersion.py
r8252 r8599 106 106 107 107 # Set final time and yield time for simulation 108 finaltime = 1.0109 yieldstep = 1 .0108 finaltime = 2000.0 109 yieldstep = 100.0 110 110 111 #import pdb; pdb.set_trace() 111 112 #=================================================================== 112 113 # Time loop … … 122 123 123 124 import pylab 124 pylab.io n()125 pylab.ioff() 125 126 126 127 x = domain.get_vertices().flatten() … … 163 164 164 165 uplot = pylab.plot(x, u, 'k') 165 pylab.draw()166 166 167 167 #plot2.set_ylim(width_lim) … … 172 172 #pylab.savefig('figure4.pdf') 173 173 pylab.show() 174 175 174 176 175 177 #raw_input('Press any key:') 176 178 -
trunk/anuga_work/development/2010-projects/anuga_1d/sww/sww_domain.py
r8251 r8599 161 161 #self.flux_timestep = comp_flux_ext(timestep,self,stage,xmom,bed) 162 162 163 from anuga_1d.sww.sww_ vel_comp_flux_ext import compute_fluxes_vel_ext as comp_flux_ext163 from anuga_1d.sww.sww_well_comp_flux_ext import compute_fluxes_vel_ext as comp_flux_ext 164 164 self.flux_timestep = comp_flux_ext(timestep,self,stage,xmom,bed,height,velocity) 165 165
Note: See TracChangeset
for help on using the changeset viewer.