Mercurial > repos > public > sbplib
view +parametrization/old/shape_discretise.m @ 971:e54c2f54dbfe feature/getBoundaryOperator
Merge with feature/poroelastic. Use only the changes made to multiblock.DiffOp and scheme.Elastic2dVariable. DiffOp.getBoundaryOperator/Quadrature now use scheme methods instead of propeties.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 25 Dec 2018 07:50:07 +0100 |
parents | 81e0ead29431 |
children |
line wrap: on
line source
% Discretises a shape such that points on the curves are no further than h appart. function p = shape_discretise(s,h) p = []; for i = 1:length(s) [~,pt] = parametrization.curve_discretise(s{i},h); p = [p, pt]; end end