view pointIndex.m @ 811:9d4246ac94c0 feature/poroelastic

Close branch before merge
author Martin Almquist <malmquist@stanford.edu>
date Fri, 27 Jul 2018 10:30:49 -0700
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