Mercurial > repos > public > sbplib
view pointIndex.m @ 1271:b5025bd67be1 feature/poroelastic
Allow using D1 D1 in VariableAnisotropicUpwind
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sun, 31 May 2020 21:58:40 -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