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

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

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

revision 1094 by jongui, Mon Apr 16 06:04:25 2007 UTC revision 1095 by jongui, Mon Apr 16 06:32:24 2007 UTC
# Line 42  while t<tend: Line 42  while t<tend:
42        T=mypde.getSolution()        T=mypde.getSolution()
43        #saveVTK("T.%d.xml"%i,temp=T)        #saveVTK("T.%d.xml"%i,temp=T)
44    
45        dc.setData(temp=T)        dc.setData(temp = T)
46        Map(scene = s, data_collector = dc, viewport = Viewport.SOUTH_WEST,        Map(scene = s, data_collector = dc, viewport = Viewport.SOUTH_WEST,
47                lut = Lut.COLOR, cell_to_point = False, outline = True)                lut = Lut.COLOR, cell_to_point = False, outline = True)
48        s.render(image_name = "%d.jpg" % i)  
49          s.render(image_name = "diffusion_%2d.jpg" % i)
50    

Legend:
Removed from v.1094  
changed lines
  Added in v.1095

  ViewVC Help
Powered by ViewVC 1.1.26