Mercurial > repos > public > sbplib
view pointIndex.m @ 1119:8984b12feba6 feature/poroelastic
Add diffOp (currently scheme) for Divergence, not sure if this belongs in +scheme.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 06 May 2019 21:23:21 -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