Mercurial > repos > public > sbplib
view pointIndex.m @ 881:67228a10dfad feature/poroelastic
Add method expandFunc to multiblock.Grid
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Fri, 26 Oct 2018 15:41:26 -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