Creating a Python interface w/F2PY
scan2
: trivial (only input arguments)
timestep2
: need to be careful with
output and input/output arguments
multi-dimensional arrays (
y
)
Note: multi-dimensional arrays are stored differently in Python (i.e. C) and Fortran!