Mercurial > repos > public > sbplib
comparison +parametrization/old/shape_discretise.m @ 832:5573913a0949 feature/burgers1d
Merged with default, and updated +scheme/Burgers1D accordingly
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 11 Sep 2018 15:58:35 +0200 |
parents | 81e0ead29431 |
children |
comparison
equal
deleted
inserted
replaced
831:d0934d1143b7 | 832:5573913a0949 |
---|---|
1 % Discretises a shape such that points on the curves are no further than h appart. | |
2 function p = shape_discretise(s,h) | |
3 p = []; | |
4 for i = 1:length(s) | |
5 [~,pt] = parametrization.curve_discretise(s{i},h); | |
6 p = [p, pt]; | |
7 end | |
8 end |