view pointIndex.m @ 883:76efb6a7b466 feature/poroelastic

Add Jonatans bugfix to bcSetup.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 02 Nov 2018 10:44:59 -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