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

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

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

revision 3074 by ahallam, Wed Jul 21 03:24:48 2010 UTC revision 3075 by ahallam, Wed Jul 28 02:51:20 2010 UTC
# Line 128  rho.setTaggedValue("vintfb",rho2) Line 128  rho.setTaggedValue("vintfb",rho2)
128  mypde=LinearPDE(domain) # create pde  mypde=LinearPDE(domain) # create pde
129  mypde.setSymmetryOn() # turn symmetry on  mypde.setSymmetryOn() # turn symmetry on
130  # turn lumping on for more efficient solving  # turn lumping on for more efficient solving
131  mypde.getSolverOptions().setSolverMethod(mypde.getSolverOptions().LUMPING)  #mypde.getSolverOptions().setSolverMethod(mypde.getSolverOptions().LUMPING)
132  kmat = kronecker(domain) # create the kronecker delta function of the domain  kmat = kronecker(domain) # create the kronecker delta function of the domain
133  mypde.setValue(D=rho*kmat) #set the general form value D  mypde.setValue(D=rho*kmat) #set the general form value D
134    

Legend:
Removed from v.3074  
changed lines
  Added in v.3075

  ViewVC Help
Powered by ViewVC 1.1.26