Encapsulate `lxyz` and `lxyz_inv`
Description
Replace access to lxyz
and lxyz_inv
arrays by using the functions index_to_coords
and index_from_coords
in most parts of the code. This encapsulates the details of lxyz and makes it easier to adapt.
Checklist
-
I have checked that my code follows the Octopus coding standards