1 function grid = set_nbi(grid,nbind,values)
2 %
function grid = set_nbi(grid,nbind,values)
3 %
function setting some neighbour indices of a grid to specified values.
6 % nbind: neighbour indices
7 % values:
new neighbour indices. This can be a single scalar or a vector of
8 % the same length as
'nbind'.
10 % Bernard Haasdonk 14.5.2007
12 grid.NBI(nbind) = values;