Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions chunkie/chunkermat.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
% opts.adaptive_correction = (false) flag for whether to use
% adaptive quadrature for near touching panels on
% different chunkers
% opts.rcip_adaptive_correction = (false) flag for whether to use
% adaptive quadrature for near touching panels on
% different chunkers within rcip
% opts.eps = (1e-14) tolerance for adaptive quadrature
% ilist - cell array of integer arrays ([]), list of panel interactions that
% should be ignored when constructing matrix entries or quadrature
Expand Down Expand Up @@ -142,6 +145,7 @@
nsub = 40;
rcip_savedepth = 10;
adaptive_correction = false;
rcip_adaptive_correction = false;
sing = 'log';

% get opts from struct if available
Expand Down Expand Up @@ -191,6 +195,9 @@
if (isfield(opts,'adaptive_correction'))
adaptive_correction = opts.adaptive_correction;
end
if (isfield(opts,'rcip_adaptive_correction'))
rcip_adaptive_correction = opts.rcip_adaptive_correction;
end

nchunkers = length(chnkrs);

Expand Down Expand Up @@ -533,6 +540,7 @@
optsrcip.nonsmoothonly = false;
optsrcip.corrections = false;
optsrcip.rcip_savedepth = rcip_savedepth;
optsrcip.adaptive_correction = rcip_adaptive_correction;

[R,rcipsav{ivert}] = chnk.rcip.Rcompchunk(chnkrs,iedgechunks,kern,ndim, ...
Pbc,PWbc,nsub,starL,circL,starS,circS,ilist,starL1,circL1,...
Expand Down
Loading