Description Usage Arguments Value
get the l neighbours on each side of i on a ring of size ndim
1 | ring_neighbours(i, l, ndim)
|
i |
center |
l |
number of neighbours in each direction |
ndim |
size of the ring |
list(x.ind, center, local.center) local.center are the indices of the centers in the local space (x.local) to apply the update
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.