/[escript]/trunk/doc/examples/heatedblock_with_pyvisi.py
ViewVC logotype

Diff of /trunk/doc/examples/heatedblock_with_pyvisi.py

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

revision 1096 by jongui, Mon Apr 16 06:32:24 2007 UTC revision 1097 by jongui, Mon Apr 16 23:03:55 2007 UTC
# Line 43  sigma_mises=sqrt(((sigma[0,0]-sigma[1,1] Line 43  sigma_mises=sqrt(((sigma[0,0]-sigma[1,1]
43  #... output ...  #... output ...
44  #saveVTK("deform.xml",disp=u,stress=sigma_mises)  #saveVTK("deform.xml",disp=u,stress=sigma_mises)
45    
46  s = Scene(renderer = Renderer.ONLINE, x_size = 800, y_size = 600)  s = Scene(renderer = Renderer.ONLINE, x_size = 500, y_size = 500)
 dc = DataCollector(source = Source.ESCRIPT)  
47    
48    dc = DataCollector(source = Source.ESCRIPT)
49  dc.setData(disp = u,stress = sigma_mises)  dc.setData(disp = u,stress = sigma_mises)
50    
51  Map(scene = s, data_collector = dc, viewport = Viewport.SOUTH_WEST,  Map(scene = s, data_collector = dc, viewport = Viewport.SOUTH_WEST,
52        lut = Lut.COLOR, cell_to_point = True, outline = True)        lut = Lut.COLOR, cell_to_point = True, outline = True)
53    

Legend:
Removed from v.1096  
changed lines
  Added in v.1097

  ViewVC Help
Powered by ViewVC 1.1.26