/[escript]/trunk/doc/examples/cookbook/example09b.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/example09b.py

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

revision 3195 by ahallam, Wed Sep 22 00:28:04 2010 UTC revision 3387 by caltinay, Thu Nov 25 07:09:23 2010 UTC
# Line 28  __url__="https://launchpad.net/escript-f Line 28  __url__="https://launchpad.net/escript-f
28  #######################################################EXTERNAL MODULES  #######################################################EXTERNAL MODULES
29  from esys.escript import *  from esys.escript import *
30  from esys.finley import Rectangle  from esys.finley import Rectangle
31    from esys.weipa import saveVTK
32  import os  import os
33  # smoothing operator  # smoothing operator
34  from esys.escript.pdetools import Projector, Locator  from esys.escript.pdetools import Projector, Locator
# Line 69  lam2=vel2**2.*rho2/2.; lam1=vel1**2.*rho Line 70  lam2=vel2**2.*rho2/2.; lam1=vel1**2.*rho
70  # Time related variables.  # Time related variables.
71  testing=True  testing=True
72  if testing:  if testing:
73      print 'The testing end time is curerntly sellected this severely limits the number of time iterations.'      print 'The testing end time is currently selected. This severely limits the number of time iterations.'
74      print "Try changing testing to False for more iterations."      print "Try changing testing to False for more iterations."
75      tend=0.001      tend=0.001
76  else:  else:

Legend:
Removed from v.3195  
changed lines
  Added in v.3387

  ViewVC Help
Powered by ViewVC 1.1.26