/[escript]/trunk/escript/test/python/DataVariableTests.py
ViewVC logotype

Diff of /trunk/escript/test/python/DataVariableTests.py

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

revision 341 by jgs, Tue Dec 6 01:16:05 2005 UTC revision 342 by jgs, Tue Dec 13 01:50:42 2005 UTC
# Line 17  Version $Id$ Line 17  Version $Id$
17    
18  from numarray import array,Float64,ones,greater  from numarray import array,Float64,ones,greater
19    
   
20  #  list of arguments: a list item has the form [a0,a1,a2]  #  list of arguments: a list item has the form [a0,a1,a2]
21  #  what a0 is the default value and a1 is used for tag Tag1  #  what a0 is the default value and a1 is used for tag Tag1
22  #  and a2 for tag2. a0,a1,a2 are converted into numarrays.  #  and a2 for tag2. a0,a1,a2 are converted into numarrays.
# Line 82  def isScalar(arg): Line 81  def isScalar(arg):
81  #  #
82  # ==============================================================  # ==============================================================
83    
84  print "\n\n"  print "\nTests of DataVariable"
85    
86  msh=bruce.Rectangle(2,3)  msh=bruce.Rectangle(2,3)
87    
 print "\n\nTests of DataVariable"  
   
88  d1 = Data(1.0,Function(msh),True)  d1 = Data(1.0,Function(msh),True)
89  d2 = Data(2.0,Function(msh),True)  d2 = Data(2.0,Function(msh),True)
90  d3 = Data(3.0,Function(msh),True)  d3 = Data(3.0,Function(msh),True)

Legend:
Removed from v.341  
changed lines
  Added in v.342

  ViewVC Help
Powered by ViewVC 1.1.26