/[escript]/trunk/pyvisi/py_src/examples/velocity.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/examples/velocity.py

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

revision 1050 by jongui, Fri Mar 16 05:15:37 2007 UTC revision 1051 by jongui, Wed Mar 21 21:56:54 2007 UTC
# Line 30  v1 = Velocity(scene = s, data_collector Line 30  v1 = Velocity(scene = s, data_collector
30  v1.setRepresentationToWireframe()  v1.setRepresentationToWireframe()
31  v1.setScaleFactor(scale_factor = 0.3)  v1.setScaleFactor(scale_factor = 0.3)
32  v1.setScaleModeByScalar()  v1.setScaleModeByScalar()
33  v1.setDimension(x = 2, y = 2, z = 2)  #v1.setDimension(x = 2, y = 2, z = 2)
34    
35  # Create a velocity instance in the second viewport.  # Create a velocity instance in the second viewport.
36  v2 = Velocity(scene = s, data_collector = dc2, viewport = Viewport.NORTH_WEST,  v2 = Velocity(scene = s, data_collector = dc2, viewport = Viewport.NORTH_WEST,
# Line 46  v3 = Velocity(scene = s, data_collector Line 46  v3 = Velocity(scene = s, data_collector
46          lut = Lut.COLOR, outline = True)          lut = Lut.COLOR, outline = True)
47  v3.setScaleFactor(scale_factor = 0.2)  v3.setScaleFactor(scale_factor = 0.2)
48  v3.setScaleModeByVector()  v3.setScaleModeByVector()
49  v3.setDimension(x = 1, y = 1, z = 1)  #v3.setDimension(x = 1, y = 1, z = 1)
50    
51  # Create a velocity instance in the fourth viewport.  # Create a velocity instance in the fourth viewport.
52  v4 = Velocity(scene = s, data_collector = dc3, viewport = Viewport.SOUTH_EAST,    v4 = Velocity(scene = s, data_collector = dc3, viewport = Viewport.SOUTH_EAST,  

Legend:
Removed from v.1050  
changed lines
  Added in v.1051

  ViewVC Help
Powered by ViewVC 1.1.26