- Timestamp:
- Nov 13, 2013, 9:44:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/parabolic/parabolaplot.py
r8991 r9022 31 31 pyplot.draw() 32 32 #pyplot.plot( (0,1),(0,0), 'r' ) 33 pyplot.plot(p2.x[v],p2.elev[1,v])33 #pyplot.plot(p2.x[v],p2.elev[v]) 34 34 pyplot.title(str(i)+'/200') # : velocity does not converge to zero' ) 35 35 pyplot.xlabel('x') … … 63 63 w = D0 + 2*A*D0/(L**2)*numpy.cos(omega*p2.time)*( (p2.x[ppp]-4.*L/2.) -A/2.*numpy.cos(omega*p2.time)) 64 64 w2 = D0 + 2*A*D0/(L**2)*numpy.cos(omega*p2.time)*( (p2.x[ppp2]-4.*L/2.) -A/2.*numpy.cos(omega*p2.time)) 65 w2 = w2*(w2>p2.elev[ 1,ppp2])+p2.elev[1,ppp2]*(w2<=p2.elev[1,ppp2])65 w2 = w2*(w2>p2.elev[ppp2])+p2.elev[ppp2]*(w2<=p2.elev[ppp2]) 66 66 67 67 pyplot.clf()
Note: See TracChangeset
for help on using the changeset viewer.