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

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

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

revision 563 by jgs, Mon Feb 20 06:05:32 2006 UTC revision 564 by jgs, Thu Feb 23 05:22:31 2006 UTC
# Line 36  def prepareArg(val,ex,wh): Line 36  def prepareArg(val,ex,wh):
36      else:      else:
37          exx=False          exx=False
38      out=Data(val[0],what=wh,expand=exx)      out=Data(val[0],what=wh,expand=exx)
39      if ex=="Tagged1":      if ex=="Tagged0":
40            out.tag()
41        elif ex=="Tagged1":
42          out.setTaggedValue(Tag1,val[1])          out.setTaggedValue(Tag1,val[1])
43      elif ex=="Tagged2":      elif ex=="Tagged2":
44          out.setTaggedValue(Tag1,val[1])          out.setTaggedValue(Tag1,val[1])
# Line 76  for wh in [ContinuousFunction(msh), Func Line 78  for wh in [ContinuousFunction(msh), Func
78    
79    print wh    print wh
80    
81    for ex1 in ["Constant", "Expanded", "Tagged1", "Tagged2"]:    for ex1 in ["Constant", "Expanded", "Tagged0", "Tagged1", "Tagged2"]:
82    
83      print "Slice getting: ", ex1      print "Slice getting: ", ex1
84    

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

  ViewVC Help
Powered by ViewVC 1.1.26