/[escript]/branches/diaplayground/poisson.py
ViewVC logotype

Diff of /branches/diaplayground/poisson.py

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

revision 4948 by caltinay, Mon May 19 04:47:10 2014 UTC revision 4955 by caltinay, Tue May 20 04:33:15 2014 UTC
# Line 6  from time import time Line 6  from time import time
6  BLOCKSIZE=3  BLOCKSIZE=3
7    
8  #dom = Rectangle(l0=1.,l1=1.,n0=99, n1=99)  #dom = Rectangle(l0=1.,l1=1.,n0=99, n1=99)
9  dom = Brick(l0=1.,l1=1.,n0=11, n1=11, n2=7)  dom = Brick(l0=1.,l1=1.,n0=51, n1=51, n2=17)
10  x = dom.getX()  x = dom.getX()
11  gammaD = whereZero(x[0])+whereZero(x[1])  gammaD = whereZero(x[0])+whereZero(x[1])
12    
# Line 32  pde.getSolverOptions().setVerbosityOn() Line 32  pde.getSolverOptions().setVerbosityOn()
32  #pde.setDebugOn()  #pde.setDebugOn()
33  #rhs=pde.getRightHandSide()  #rhs=pde.getRightHandSide()
34  #saveDataCSV('/tmp/rhs.csv',rhs=rhs)  #saveDataCSV('/tmp/rhs.csv',rhs=rhs)
35  pde.getSystem()[0].saveMM('/tmp/poissonripley.mtx')  #pde.getSystem()[0].saveMM('/tmp/poissonripley.mtx')
36  t0=time()  t0=time()
37  x = pde.getSolution()  x = pde.getSolution()
38  t1=time()  t1=time()

Legend:
Removed from v.4948  
changed lines
  Added in v.4955

  ViewVC Help
Powered by ViewVC 1.1.26