/[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 3378 by caltinay, Fri Nov 12 01:19:02 2010 UTC revision 3379 by gross, Wed Nov 24 04:48:49 2010 UTC
# Line 52  def wavePropagation(domain,h,tend,lam,mu Line 52  def wavePropagation(domain,h,tend,lam,mu
52     x=domain.getX()     x=domain.getX()
53     # ... open new PDE ...     # ... open new PDE ...
54     mypde=LinearPDE(domain)     mypde=LinearPDE(domain)
55     mypde.getSolverOptions().setSolverMethod(mypde.getSolverOptions().LUMPING)     mypde.getSolverOptions().setSolverMethod(mypde.getSolverOptions().HRZ_LUMPING)
56     kronecker=identity(mypde.getDim())     kronecker=identity(mypde.getDim())
57    
58     dunit=numpy.array([1.,0.,0.]) # defines direction of point source     dunit=numpy.array([1.,0.,0.]) # defines direction of point source

Legend:
Removed from v.3378  
changed lines
  Added in v.3379

  ViewVC Help
Powered by ViewVC 1.1.26