Description Usage Arguments Value
A function to compute the neighbours of a cell on a toral grid
1 |
i |
cell index i |
j |
cell index j |
ns |
number of neighbours either side |
M |
size of grid in x direction |
N |
size of grid in y direction |
the cell indices of the neighbours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.