Skip to content

Commit

Permalink
repaired original setup in test_fastsum.m
Browse files Browse the repository at this point in the history
  • Loading branch information
FranziskaN committed Feb 14, 2023
1 parent 281f59e commit 66d7cc7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions matlab/fastsum/test_fastsum.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
d = 2; % number of dimensions
N = 2000; % number of source knots
M = 2000; % number of target knots
kernel = 'xx_gaussian';
c = 100; % kernel parameter
kernel = 'multiquadric';
c = 1/sqrt(N); % kernel parameter
p = 3; % degree of smoothness of regularization
flags = 0; % flags (could be EXACT_NEARFIELD or NEARFIELD_BOXES)
n = 32; % expansion degree
eps_I = 0.0;%p/n; % inner boundary
eps_B = 0.0;%1/16; % outer boundary
n = 156; % expansion degree
eps_I = p/n; % inner boundary
eps_B = 1/16; % outer boundary
m = p; % cut-off parameter for NFFT
nn_oversampled=2*n; % oversampling factor for NFFT

Expand All @@ -61,7 +61,7 @@
phi = rand(N,1)*2*pi;
x = [r.*cos(phi) r.*sin(phi)];
% random coefficients
alpha = ones(N,1);%rand(N,1) + 1i*rand(N,1);
alpha = rand(N,1) + 1i*rand(N,1);
% random target nodes in circle of radius 0.25-eps_B/2
r = sqrt(rand(M,1))*(0.25-eps_B/2);
phi = rand(M,1)*2*pi;
Expand Down

0 comments on commit 66d7cc7

Please sign in to comment.