Lines Matching refs:ny
12 def __init__(self, nx, ny, alpha, impl='python'): argument
14 self.ny = ny # y grid size
28 nx, ny = self.nx, self.ny
31 x = X.getArray(readonly=1).reshape(nx, ny, order=order)
32 f = F.getArray(readonly=0).reshape(nx, ny, order=order)
40 ny = OptDB.getInt('ny', nx) variable
46 appc = Bratu2D(nx, ny, alpha, impl)
51 f = PETSc.Vec().createSeq(nx*ny)
66 da = PETSc.DMDA().create([nx,ny])
80 X, Y = mgrid[0:1:1j*nx,0:1:1j*ny]
81 Z = x[...].reshape(nx,ny)