Mercurial > repos > public > sbplib
view pointIndex.m @ 1334:df8c71b80c33 feature/D2_boundary_opt
Use the logic grid associated with a CurvilinearGrid instead of creating a new one
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sat, 07 May 2022 10:40:47 +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