/[escript]/trunk/doc/examples/usersguide/lit_driven_cavity.py
ViewVC logotype

Diff of /trunk/doc/examples/usersguide/lit_driven_cavity.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2484 by gross, Mon Jun 22 04:22:19 2009 UTC revision 2534 by caltinay, Thu Jul 16 06:49:19 2009 UTC
# Line 33  v=Vector(0.,Solution(dom)) Line 33  v=Vector(0.,Solution(dom))
33  v[0]+=whereZero(x[1]-1.)  v[0]+=whereZero(x[1]-1.)
34  p=Scalar(0.,ReducedSolution(dom))  p=Scalar(0.,ReducedSolution(dom))
35  v,p=sc.solve(v,p, verbose=True)  v,p=sc.solve(v,p, verbose=True)
36  saveVTK("u.xml",velocity=v,pressure=p)  saveVTK("u.vtu",velocity=v,pressure=p)
37    

Legend:
Removed from v.2484  
changed lines
  Added in v.2534

  ViewVC Help
Powered by ViewVC 1.1.26