/[escript]/trunk/doc/examples/usersguide/diffusion.py
ViewVC logotype

Diff of /trunk/doc/examples/usersguide/diffusion.py

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

revision 3891 by caltinay, Wed Feb 1 06:16:25 2012 UTC revision 3892 by jfenwick, Tue Apr 10 08:57:23 2012 UTC
# Line 51  T=Tref Line 51  T=Tref
51  while t<tend:  while t<tend:
52        i+=1        i+=1
53        t+=h        t+=h
54        print "time step :",t        print("time step :",t)
55        mypde.setValue(Y=qH+rhocp/h*T)        mypde.setValue(Y=qH+rhocp/h*T)
56        T=mypde.getSolution()        T=mypde.getSolution()
57        saveVTK("T.%d.vtu"%i,temp=T)        saveVTK("T.%d.vtu"%i,temp=T)

Legend:
Removed from v.3891  
changed lines
  Added in v.3892

  ViewVC Help
Powered by ViewVC 1.1.26