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

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

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

revision 2191 by lgraham, Mon Jan 5 00:30:15 2009 UTC revision 2432 by gross, Wed May 20 06:06:20 2009 UTC
# Line 52  while t <= t_end: Line 52  while t <= t_end:
52    print "Time = %s seconds"%( time )      print "Time = %s seconds"%( time )  
53    
54    solution.initialize(fixed_u_mask=boundary_cond,eta=eta,f=Y)    solution.initialize(fixed_u_mask=boundary_cond,eta=eta,f=Y)
55    velocity,pressure=solution.solve(velocity,pressure,max_iter=max_iter,verbose=verbose,useUzawa=useUzawa)    velocity,pressure=solution.solve(velocity,pressure,max_iter=max_iter,verbose=verbose,usePCG=True)
56        
57    print "Max velocity =", Lsup(velocity), "m/s"    print "Max velocity =", Lsup(velocity), "m/s"
58        

Legend:
Removed from v.2191  
changed lines
  Added in v.2432

  ViewVC Help
Powered by ViewVC 1.1.26