Mercurial > repos > public > sbplib
view pointIndex.m @ 1338:da61892884a4 feature/D2_boundary_opt
Add support for using periodic grids.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 13 May 2022 13:29:05 +0200 |
parents | bb079b39a7bb |
children |
line wrap: on
line source
% Get the index of the points p within the tall array of points ps function [I, ok] = pointIndex(p, ps) [ok, I] = ismember(p, ps, 'rows'); end