comparison +sbp/D1Gauss.m @ 409:42c4f0b545d6 feature/SBPInTimeGauss

Remove m as input to implementation function. Fix error message for invalid m to D1Gauss
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 07 Feb 2017 13:49:46 +0100
parents 4d9d8064e58b
children e1d11b6a68d8
comparison
equal deleted inserted replaced
408:ba73c9c8d1a6 409:42c4f0b545d6
23 L = x_r-x_l; 23 L = x_r-x_l;
24 24
25 switch m 25 switch m
26 case 4 26 case 4
27 [obj.D1,obj.H,obj.x,obj.h,obj.e_l,obj.e_r] = ... 27 [obj.D1,obj.H,obj.x,obj.h,obj.e_l,obj.e_r] = ...
28 sbp.implementations.d1_gauss_4(m,L); 28 sbp.implementations.d1_gauss_4(L);
29 otherwise 29 otherwise
30 error('Invalid operator order %d.',order); 30 error('Invalid number of points: %d.', m);
31 end 31 end
32 32
33 33
34 obj.x = obj.x + x_l; 34 obj.x = obj.x + x_l;
35 obj.HI = inv(obj.H); 35 obj.HI = inv(obj.H);