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

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

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

revision 1058 by jongui, Fri Mar 23 04:06:56 2007 UTC revision 1161 by jongui, Wed May 23 04:17:52 2007 UTC
# Line 82  def wavePropagation(domain,h,tend,lam,mu Line 82  def wavePropagation(domain,h,tend,lam,mu
82    
83       # ... save current acceleration in units of gravity and displacements       # ... save current acceleration in units of gravity and displacements
84       if n==1 or n%10==0: saveVTK("./data/usoln.%i.vtu"%(n/10),acceleration=length(a)/9.81,       if n==1 or n%10==0: saveVTK("./data/usoln.%i.vtu"%(n/10),acceleration=length(a)/9.81,
85       displacement = length(u), Ux = u[0] )       displacement = length(u), tensor = stress, Ux = u[0] )
86    
87     u_pc_data.close()     u_pc_data.close()
88        

Legend:
Removed from v.1058  
changed lines
  Added in v.1161

  ViewVC Help
Powered by ViewVC 1.1.26