view pointIndex.m @ 1265:6696b216b982 feature/poroelastic

Start working on displacement bc, clean up traction.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 30 Apr 2020 11:30:55 -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