5 |
|
|
6 |
BLOCKSIZE=1 |
BLOCKSIZE=1 |
7 |
|
|
8 |
dom = Rectangle(l0=1.,l1=1.,n0=299, n1=299) |
dom = Rectangle(l0=1.,l1=1.,n0=99, n1=99) |
9 |
#dom = Brick(l0=1.,l1=1.,n0=51, n1=51, n2=17) |
#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]) |
32 |
pde.getSolverOptions().setSolverMethod(SolverOptions.PRES20) |
pde.getSolverOptions().setSolverMethod(SolverOptions.PRES20) |
33 |
pde.getSolverOptions().setSolverMethod(SolverOptions.BICGSTAB) |
pde.getSolverOptions().setSolverMethod(SolverOptions.BICGSTAB) |
34 |
pde.getSolverOptions().setSolverMethod(SolverOptions.PCG) |
pde.getSolverOptions().setSolverMethod(SolverOptions.PCG) |
35 |
pde.getSolverOptions().setPreconditioner(SolverOptions.NO_PRECONDITIONER) |
pde.getSolverOptions().setSolverMethod(SolverOptions.LSQR) |
36 |
pde.getSolverOptions().setPreconditioner(SolverOptions.JACOBI) |
pde.getSolverOptions().setPreconditioner(SolverOptions.JACOBI) |
37 |
|
pde.getSolverOptions().setPreconditioner(SolverOptions.NO_PRECONDITIONER) |
38 |
pde.getSolverOptions().setVerbosityOn() |
pde.getSolverOptions().setVerbosityOn() |
39 |
#pde.setDebugOn() |
#pde.setDebugOn() |
40 |
#rhs=pde.getRightHandSide() |
#rhs=pde.getRightHandSide() |