/[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 3148 by jfenwick, Fri Sep 3 02:09:47 2010 UTC revision 3195 by ahallam, Wed Sep 22 00:28:04 2010 UTC
# Line 67  mu2=vel2**2.*rho2/4.;  mu1=vel1**2.*rho1 Line 67  mu2=vel2**2.*rho2/4.;  mu1=vel1**2.*rho1
67  lam2=vel2**2.*rho2/2.; lam1=vel1**2.*rho1/2.  #lames constant  lam2=vel2**2.*rho2/2.; lam1=vel1**2.*rho1/2.  #lames constant
68    
69  # Time related variables.  # Time related variables.
70  tend=0.1    # end time  testing=True
71    if testing:
72        print 'The testing end time is curerntly sellected this severely limits the number of time iterations.'
73        print "Try changing testing to False for more iterations."
74        tend=0.001
75    else:
76        tend=0.1    # end time
77    
78  h=0.00005    # time step  h=0.00005    # time step
79  # data recording times  # data recording times
80  rtime=0.0 # first time to record  rtime=0.0 # first time to record

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

  ViewVC Help
Powered by ViewVC 1.1.26