ring_neighbours: Neighborhood on a ring

Description Usage Arguments Value

View source: R/utils_geom.R

Description

get the l neighbours on each side of i on a ring of size ndim

Usage

1
ring_neighbours(i, l, ndim)

Arguments

i

center

l

number of neighbours in each direction

ndim

size of the ring

Value

list(x.ind, center, local.center) local.center are the indices of the centers in the local space (x.local) to apply the update


robertsy/assimilr documentation built on May 27, 2019, 10:33 a.m.