Re: how to extract data points from specific positions in a 2D domain
Administrator
Since you are using the grid points as evaluation points (https://featool.com/doc/grid#grid_fmt), you can just remove the ones you are not interested in.
ix_eval = fea.grid.p(2,:) > 0;
p = fea.grid.p(:,ix_eval):