view pointIndex.m @ 1209:67eee83fd9c9 feature/poroelastic

Swap indices in anisotropic curvilinear
author Martin Almquist <malmquist@stanford.edu>
date Fri, 20 Sep 2019 15:38:39 -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