Open tobson opened 7 years ago
I agree, let's make this change sooner than later.
We would also need to modify particles.py here and the grid x and y arrays but I think that's about it. We will not have to modify the particle boundaries as they are written in the grid distance units which we can keep as [0, nx) x [0, ny).
I will be back in business on Wednesday.
Right now the computational domain always goes from
(0, 0)
to(Lx, Ly)
. In the shearing sheet, for instance, we'd rather have it go from(-Lx/2, -Ly/2)
to(Lx/2, Ly/2)
.Probably all it takes to implement this are tiny changes in the particle push and deposit routines, specifically here and here.