view pointIndex.m @ 1200:d9da4c1cdaa0 feature/poroelastic

Fix spelling mistake in comments.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 22 Aug 2019 11:55:35 -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