annotate pointIndex.m @ 998:2b1b944deae1 feature/getBoundaryOp

Add getBoundaryOperator to all 1d schemes. Did not add getBoundaryQuadrature because it doesnt make sense in 1d (?)
author Martin Almquist <malmquist@stanford.edu>
date Sat, 12 Jan 2019 13:35:19 -0800
parents bb079b39a7bb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
765
bb079b39a7bb Add function for findind indecies of points in a list of points
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 % Get the index of the points p within the tall array of points ps
bb079b39a7bb Add function for findind indecies of points in a list of points
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 function [I, ok] = pointIndex(p, ps)
bb079b39a7bb Add function for findind indecies of points in a list of points
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 [ok, I] = ismember(p, ps, 'rows');
bb079b39a7bb Add function for findind indecies of points in a list of points
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
4 end