Mercurial > repos > public > sbplib
comparison +sbp/+implementations/d4_variable_6.m @ 341:43d02533bea3 feature/beams
Fixed error in boundary point check.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 04 Nov 2016 11:12:47 -0700 |
parents | bf801c3709be |
children | b758d1cf4c8e |
comparison
equal
deleted
inserted
replaced
340:25ae8333ce2b | 341:43d02533bea3 |
---|---|
14 %%% RR ?r dissipation) %%% | 14 %%% RR ?r dissipation) %%% |
15 %%% Dissipationen uppbyggd av D4: %%% | 15 %%% Dissipationen uppbyggd av D4: %%% |
16 %%% DI=D4*B*H*D4 %%% | 16 %%% DI=D4*B*H*D4 %%% |
17 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 17 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
18 | 18 |
19 BP = 8; | 19 BP = 9; |
20 if(m<2*BP) | 20 if(m<2*BP) |
21 error(['Operator requires at least ' num2str(2*BP) ' grid points']); | 21 error(['Operator requires at least ' num2str(2*BP) ' grid points']); |
22 end | 22 end |
23 | 23 |
24 % Norm | 24 % Norm |