3 ms·
I index from -N:N so that 0 is in the centre of my computational boxes.
by Extigy 10y ago
I index from -N:N so that 0 is in the centre of my computational boxes.
- gh02t 10y agoYeah, something like this is the intended use, but it isn't used much at least in the Fortran I've seen. Mostly because it's really confusing for someone reading your code, as once the array is declared there's no indication what the index range is.