Mercurial > repos > public > sbplib
view pointIndex.m @ 1120:7963a9cab637 feature/poroelastic
In RungeKuttaDiscreteData, make K and U non-sparse to improve performance by roughly a factor of 3.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 07 May 2019 11:41:15 -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