python-hydro/pyro2

switch to Fortran order for arrays?

Closed this issue · 2 comments

Since we are interfacing with Fortran, then it is more natural to use ordering="F" with our NumPy arrays. We like to have "x" as the first index (row) and "y" as the second index (column).

Also, this will eliminate a lot of transposes for plotting and the pretty_printing

and when we just print an ndarray to the screen, x will vary horizontally instead of vertically.

note, this would not be needed if we switch to Cython (#43)

this is no longer needed with the numba code path.