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

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

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

revision 2977 by ahallam, Tue Mar 9 00:33:28 2010 UTC revision 2980 by artak, Tue Mar 9 03:50:58 2010 UTC
# Line 67  mkDir(save_path, os.path.join(save_path, Line 67  mkDir(save_path, os.path.join(save_path,
67  blocks = Rectangle(l0=mx,l1=my,n0=ndx, n1=ndy)  blocks = Rectangle(l0=mx,l1=my,n0=ndx, n1=ndy)
68    
69  ###############################################ESCRIPT PDE CONSTRUCTION  ###############################################ESCRIPT PDE CONSTRUCTION
70    #... open PDE and set coefficients ...
71    mypde=LinearPDE(blocks)
72  mypde.setSymmetryOn()  mypde.setSymmetryOn()
73  A=zeros((2,2))  A=zeros((2,2))
74  A[0,0]=kappa  A[0,0]=kappa

Legend:
Removed from v.2977  
changed lines
  Added in v.2980

  ViewVC Help
Powered by ViewVC 1.1.26