/[escript]/trunk/doc/user/stokesflow.tex
ViewVC logotype

Diff of /trunk/doc/user/stokesflow.tex

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

revision 3913 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 3914 by jfenwick, Wed Jun 20 04:51:47 2012 UTC
# Line 190  for visualization. Line 190  for visualization.
190      # displace the mesh      # displace the mesh
191      displacement = velocity * dt      displacement = velocity * dt
192      coordinates = mesh.getX()      coordinates = mesh.getX()
193      mesh.setX(coordinates + displacement)      newx=interpolate(coordinates + displacement, ContinuousFunction(mesh))
194        mesh.setX(newx)
195    
196      time += dt      time += dt
197    

Legend:
Removed from v.3913  
changed lines
  Added in v.3914

  ViewVC Help
Powered by ViewVC 1.1.26