/[escript]/trunk/finley/test/python/SimpleSolve.py
ViewVC logotype

Diff of /trunk/finley/test/python/SimpleSolve.py

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

revision 782 by gross, Thu Jul 13 02:27:45 2006 UTC revision 783 by gross, Tue Jul 18 01:32:50 2006 UTC
# Line 38  print "\nGenerate mesh: finley.Rectangle Line 38  print "\nGenerate mesh: finley.Rectangle
38    
39  # set the direct solver switch  # set the direct solver switch
40  DIRECT=LinearPDE.DIRECT  DIRECT=LinearPDE.DIRECT
41  # DIRECT=LinearPDE.ITERATIVE # this will switch of the DIRECT solver call to avoid external library calls which may not be available everywhere  DIRECT=LinearPDE.ITERATIVE # this will switch of the DIRECT solver call to avoid external library calls which may not be available everywhere
42    
43  print "\nSetup domain and functions"  print "\nSetup domain and functions"
44  print "--------------------------"  print "--------------------------"
# Line 59  u_ex=Scalar(1,n,True) Line 59  u_ex=Scalar(1,n,True)
59    
60  print "x=e.getX():"  print "x=e.getX():"
61  x=e.getX()  x=e.getX()
62    print "is x protected: ",x.isProtected()
63    
64    
65  print "norm_u_ex=Lsup(u_ex):"  print "norm_u_ex=Lsup(u_ex):"
66  norm_u_ex=Lsup(u_ex)  norm_u_ex=Lsup(u_ex)
67    print "is u_ex protected: ",u_ex.isProtected()
68    
69  print "\nGenerate a test solution (1)"  print "\nGenerate a test solution (1)"
70  print "----------------------------"  print "----------------------------"

Legend:
Removed from v.782  
changed lines
  Added in v.783

  ViewVC Help
Powered by ViewVC 1.1.26