/[escript]/trunk/doc/examples/cookbook/example08a.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/example08a.py

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

revision 3388 by caltinay, Thu Nov 25 07:09:23 2010 UTC revision 3389 by ahallam, Wed Dec 1 23:03:35 2010 UTC
# Line 84  x=domain.getX() # get the locations of t Line 84  x=domain.getX() # get the locations of t
84  mypde=LinearPDE(domain) # create pde  mypde=LinearPDE(domain) # create pde
85  mypde.setSymmetryOn() # turn symmetry on  mypde.setSymmetryOn() # turn symmetry on
86  # turn lumping on for more efficient solving  # turn lumping on for more efficient solving
87  mypde.getSolverOptions().setSolverMethod(mypde.getSolverOptions().LUMPING)  mypde.getSolverOptions().setSolverMethod(mypde.getSolverOptions().HRZ_LUMPING)
88  kmat = kronecker(domain) # create the kronecker delta function of the domain  kmat = kronecker(domain) # create the kronecker delta function of the domain
89  mypde.setValue(D=kmat*rho) #set the general form value D  mypde.setValue(D=kmat*rho) #set the general form value D
90    

Legend:
Removed from v.3388  
changed lines
  Added in v.3389

  ViewVC Help
Powered by ViewVC 1.1.26