view pointIndex.m @ 1315:6c308da9dcbc feature/poroelastic

Add new interface method interfaceNormalTangential in Elastic2dCurvilinearAnisotropic.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 26 Jul 2020 17:38:28 -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