Dear fipy users and developers, I would like to create a 2D mesh shifted in one "coordinate" (Y) to negative values, so I do:
Xmax=5 Ymax=10 Xsteps=5 Ysteps=10 dx = Xmax / float(Xsteps) dy = Ymax / float(Ysteps) mesh2D = Grid2D(dx = dx, dy = dy, nx = Xsteps, ny = Ysteps, origin=((0,), (-5,))) however, I get: TypeError: Grid2D() got an unexpected keyword argument 'origin' I read in help(Grid2D()) that origin is a parameter of Grid2D() (i.e., parameter of the *constructor*) if I understood correctly. How do I need to do the shift in 2D? I know that in 1D case I can simply subtract the needed "shift" value, i.e.: mesh1D = Grid1D(dx = dx, nx = Xsteps) + (-Xmax/2.) Thanks in advance, Igor.
