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

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

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

revision 1173 by gross, Fri May 25 06:55:05 2007 UTC revision 1174 by gross, Tue May 29 07:05:59 2007 UTC
# Line 56  class Test_Util_SpatialFunctions_noGradO Line 56  class Test_Util_SpatialFunctions_noGradO
56       x=f.getX()       x=f.getX()
57       ref=Vector(0.,what=f)       ref=Vector(0.,what=f)
58       if dim==3:       if dim==3:
59           ref.setTaggedValue(200,[1,0,0])           ref.setTaggedValue(200,[0,0,1])
60           ref.setTaggedValue(100,[-1,0,0])           ref.setTaggedValue(100,[0,0,-1])
61           ref.setTaggedValue(20,[0,1,0])           ref.setTaggedValue(20,[0,1,0])
62           ref.setTaggedValue(10,[0,-1,0])           ref.setTaggedValue(10,[0,-1,0])
63           ref.setTaggedValue(2,[0,0,1])           ref.setTaggedValue(2,[1,0,0])
64           ref.setTaggedValue(1,[0,0,-1])           ref.setTaggedValue(1,[-1,0,0])
65       else:       else:
66           ref.setTaggedValue(2,[1,0])           ref.setTaggedValue(2,[1,0])
67           ref.setTaggedValue(1,[-1,0])           ref.setTaggedValue(1,[-1,0])
# Line 84  class Test_Util_SpatialFunctions_noGradO Line 84  class Test_Util_SpatialFunctions_noGradO
84       x=f.getX()       x=f.getX()
85       ref=Vector(0.,what=f)       ref=Vector(0.,what=f)
86       if dim==3:       if dim==3:
87           ref.setTaggedValue(200,[1,0,0])           ref.setTaggedValue(200,[0,0,1])
88           ref.setTaggedValue(100,[-1,0,0])           ref.setTaggedValue(100,[0,0,-1])
89           ref.setTaggedValue(20,[0,1,0])           ref.setTaggedValue(20,[0,1,0])
90           ref.setTaggedValue(10,[0,-1,0])           ref.setTaggedValue(10,[0,-1,0])
91           ref.setTaggedValue(2,[0,0,1])           ref.setTaggedValue(2,[1,0,0])
92           ref.setTaggedValue(1,[0,0,-1])           ref.setTaggedValue(1,[-1,0,0])
93       else:       else:
94           ref.setTaggedValue(2,[1,0])           ref.setTaggedValue(2,[1,0])
95           ref.setTaggedValue(1,[-1,0])           ref.setTaggedValue(1,[-1,0])

Legend:
Removed from v.1173  
changed lines
  Added in v.1174

  ViewVC Help
Powered by ViewVC 1.1.26