Ignore:
Timestamp:
Nov 13, 2013, 9:44:05 PM (11 years ago)
Author:
davies
Message:

Removing most significant velocity artefacts from dev_audusse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/tests/parabolic/parabolaplot.py

    r8991 r9022  
    3131        pyplot.draw()
    3232        #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])
    3434        pyplot.title(str(i)+'/200') # : velocity does not converge to zero' )
    3535        pyplot.xlabel('x')
     
    6363w = D0 + 2*A*D0/(L**2)*numpy.cos(omega*p2.time)*( (p2.x[ppp]-4.*L/2.) -A/2.*numpy.cos(omega*p2.time))
    6464w2 = 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])
     65w2 = w2*(w2>p2.elev[ppp2])+p2.elev[ppp2]*(w2<=p2.elev[ppp2])
    6666
    6767pyplot.clf()
Note: See TracChangeset for help on using the changeset viewer.