/[escript]/trunk/doc/examples/wave_with_pyvisi.py
ViewVC logotype

Diff of /trunk/doc/examples/wave_with_pyvisi.py

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

revision 1096 by jongui, Mon Apr 16 06:32:24 2007 UTC revision 1097 by jongui, Mon Apr 16 23:03:55 2007 UTC
# Line 88  def wavePropagation(domain,h,tend,lam,mu Line 88  def wavePropagation(domain,h,tend,lam,mu
88       # ... save current acceleration in units of gravity and displacements       # ... save current acceleration in units of gravity and displacements
89       if n==1 or n%10==0:       if n==1 or n%10==0:
90           #saveVTK("./data/usoln.%i.vtu"%(n/10), acceleration=length(a)/9.81,           #saveVTK("./data/usoln.%i.vtu"%(n/10), acceleration=length(a)/9.81,
91           #displacement = u, tensor = stress, Ux = u[0])           #        displacement = u, tensor = stress, Ux = u[0])
92    
93           dc.setData(acceleration = length(a)/9.81, displacement = u,           dc.setData(acceleration = length(a)/9.81, displacement = u,
94                   tensor = stress, Ux = u[0])                   tensor = stress, Ux = u[0])

Legend:
Removed from v.1096  
changed lines
  Added in v.1097

  ViewVC Help
Powered by ViewVC 1.1.26