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

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

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

revision 563 by jgs, Mon Feb 20 06:53:12 2006 UTC revision 564 by jgs, Thu Feb 23 05:22:31 2006 UTC
# Line 45  def prepareArg(val,ex,wh): Line 45  def prepareArg(val,ex,wh):
45          else:          else:
46              exx=False              exx=False
47          out=Data(val[0],what=wh,expand=exx)          out=Data(val[0],what=wh,expand=exx)
48          if ex=="Tagged1":          if ex=="Tagged0":
49                out.tag()
50            elif ex=="Tagged1":
51              out.setTaggedValue(Tag1,val[1])              out.setTaggedValue(Tag1,val[1])
52          elif ex=="Tagged2":          elif ex=="Tagged2":
53              out.setTaggedValue(Tag1,val[1])              out.setTaggedValue(Tag1,val[1])
# Line 82  for wh in [ContinuousFunction(msh),Funct Line 84  for wh in [ContinuousFunction(msh),Funct
84    
85    print wh    print wh
86    
87    for ex1 in ["Constant","Expanded","Tagged1","Tagged2"]:    for ex1 in ["Constant","Expanded","Tagged0","Tagged1","Tagged2"]:
88    
89      for ex2 in ["Array","Constant","Expanded","Tagged1","Tagged2"]:      for ex2 in ["Array","Constant","Expanded","Tagged0","Tagged1","Tagged2"]:
90    
91            print "Slice setting: ", ex1, ",", ex2, ":"            print "Slice setting: ", ex1, ",", ex2, ":"
92    

Legend:
Removed from v.563  
changed lines
  Added in v.564

  ViewVC Help
Powered by ViewVC 1.1.26