view pointIndex.m @ 838:bd43256f0c41 feature/poroelastic

Added tag Heimisson2018 for changeset 08f3ffe63f48
author Martin Almquist <malmquist@stanford.edu>
date Fri, 14 Sep 2018 10:41:00 -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