view pointIndex.m @ 1260:7fbee3de0ab2 feature/poroelastic

Remove dummy line in Eastic2dVariableAnisotropic.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 29 Apr 2020 21:01:09 -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