Mercurial > repos > public > sbplib
comparison +sbp/D4Compatible.m @ 261:6009f2712d13 operator_remake
Moved and renamned all implementations.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Thu, 08 Sep 2016 15:35:45 +0200 |
parents | 07fa0d6a05bb |
children | 23051a86faa4 |
comparison
equal
deleted
inserted
replaced
260:b4116ce49ac4 | 261:6009f2712d13 |
---|---|
12 | 12 |
13 methods | 13 methods |
14 function obj = D4Compatible(m,h,order) | 14 function obj = D4Compatible(m,h,order) |
15 | 15 |
16 if order == 2 | 16 if order == 2 |
17 [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m, S_1, S_m] = sbp.higher_compatible2(m,h); | 17 [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m,... |
18 S_1, S_m] = sbp.implementations.d4_compatible_2(m,h); | |
18 obj.borrowing.N.S2 = 0.7500; | 19 obj.borrowing.N.S2 = 0.7500; |
19 obj.borrowing.N.S3 = 0.3000; | 20 obj.borrowing.N.S3 = 0.3000; |
20 elseif order == 4 | 21 elseif order == 4 |
21 [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m, S_1, S_m] = sbp.higher_compatible4(m,h); | 22 [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m,... |
23 S_1, S_m] = sbp.implementations.d4_compatible_4(m,h); | |
22 obj.borrowing.N.S2 = 0.4210; | 24 obj.borrowing.N.S2 = 0.4210; |
23 obj.borrowing.N.S3 = 0.7080; | 25 obj.borrowing.N.S3 = 0.7080; |
24 elseif order == 6 | 26 elseif order == 6 |
25 [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m, S_1, S_m] = sbp.higher_compatible6(m,h); | 27 [H, HI, D1, D4, e_1, e_m, M4, Q, S2_1, S2_m, S3_1, S3_m,... |
28 S_1, S_m] = sbp.implementations.d4_compatible_6(m,h); | |
26 obj.borrowing.N.S2 = 0.06925; | 29 obj.borrowing.N.S2 = 0.06925; |
27 obj.borrowing.N.S3 = 0.05128; | 30 obj.borrowing.N.S3 = 0.05128; |
28 else | 31 else |
29 error('Invalid operator order.'); | 32 error('Invalid operator order.'); |
30 end | 33 end |