|
1 | | -function [R,rcipsav]=Rcompchunk(chnkr,iedgechunks,fkern,ndim, ... |
| 1 | +function [R,rcipsav]=Rcompchunk(chnkr,iedgechunks,fkern,ndim,vert0, ... |
2 | 2 | Pbc,PWbc,nsub,starL,circL,starS,circS,ilist,starL1,circL1,... |
3 | 3 | sbclmat,sbcrmat,lvmat,rvmat,u,opts) |
4 | 4 | %CHNK.RCIP.Rcompchunk carry out the forward recursion for computing |
|
44 | 44 | rcipsav.ilist = ilist; |
45 | 45 | rcipsav.nsub = nsub; |
46 | 46 |
|
47 | | -if (nargin < 15 || isempty(sbclmat) || isempty(sbcrmat) || ... |
| 47 | +if (nargin < 16 || isempty(sbclmat) || isempty(sbcrmat) || ... |
48 | 48 | isempty(lvmat) || isempty(rvmat) || isempty(u)) |
49 | 49 | [sbclmat,sbcrmat,lvmat,rvmat,u] = chnk.rcip.shiftedlegbasismats(k); |
50 | 50 | end |
51 | 51 |
|
52 | | -if nargin < 20 |
| 52 | +if nargin < 21 |
53 | 53 | opts = []; |
54 | 54 | end |
55 | 55 |
|
|
165 | 165 | fkernlocal = fkern; |
166 | 166 | if isa(fkern, 'kernel') |
167 | 167 | if isa(fkern.shifted_eval, 'function_handle') |
168 | | - fkernlocal.eval = @(s,t) fkern.shifted_eval(s, t, ctr(:,1)); |
| 168 | + fkernlocal.eval = @(s,t) fkern.shifted_eval(s, t, vert0); |
169 | 169 | end |
170 | 170 | end |
171 | 171 | else |
|
178 | 178 | if isa(fkern(ici,icj), 'kernel') |
179 | 179 | if isa(fkern(ici,icj).shifted_eval, 'function_handle') |
180 | 180 | fkernlocal(i,j).eval = ... |
181 | | - @(s,t) fkern(ici,icj).shifted_eval(s,t,ctr(:,i)); |
| 181 | + @(s,t) fkern(ici,icj).shifted_eval(s,t,vert0); |
182 | 182 | end |
183 | 183 | end |
184 | 184 | end |
|
0 commit comments