--- trunk/esys2/doc/user/examples/diffusion.py 2005/02/28 07:06:23 112 +++ trunk/esys2/doc/user/examples/diffusion.py 2005/02/28 07:06:33 113 @@ -1,6 +1,6 @@ # $Id$ from mytools import Helmholtz -from esys.escript import Lsup +from esys.escript import Lsup,length from esys.finley import Rectangle #... set some parameters ... xc=[0.02,0.002] @@ -31,4 +31,4 @@ print "time step :",t mypde.setValue(kappa=kappa,omega=rhocp/h,f=q+rhocp/h*T,eta=eta,g=eta*Tref) T=mypde.getSolution() - T.saveDX("T%d.dx"%i) \ No newline at end of file + T.saveDX("T%d.dx"%i)