view pointIndex.m @ 1061:c7b619cf5e34

Add multiblock domain Line
author Martin Almquist <malmquist@stanford.edu>
date Thu, 07 Feb 2019 18:42:50 -0800
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