From 33dbf5d54786554e5622616ba91745618e47f41c Mon Sep 17 00:00:00 2001 From: Travis Askham Date: Wed, 28 Feb 2024 23:28:23 -0500 Subject: [PATCH] small change --- chunkie/chunkerkerneval.m | 1 - chunkie/chunkerkernevalmat.m | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/chunkie/chunkerkerneval.m b/chunkie/chunkerkerneval.m index 8530f53..fb10f27 100644 --- a/chunkie/chunkerkerneval.m +++ b/chunkie/chunkerkerneval.m @@ -148,7 +148,6 @@ % smooth for sufficiently far, adaptive otherwise -%optsflag = []; optsflag.fac = opts_use.fac; rho = 1.8; optsflag = []; optsflag.rho = rho; flag = flagnear_rectangle(chnkr,targinfo.r,optsflag); diff --git a/chunkie/chunkerkernevalmat.m b/chunkie/chunkerkernevalmat.m index f3efb12..a697ac2 100644 --- a/chunkie/chunkerkernevalmat.m +++ b/chunkie/chunkerkernevalmat.m @@ -102,13 +102,13 @@ forcesmooth = false; forceadap = false; -forcepqud = false; +forcepquad = false; nonsmoothonly = false; fac = 1.0; eps = 1e-12; if isfield(opts,'forcesmooth'); forcesmooth = opts.forcesmooth; end if isfield(opts,'forceadap'); forceadap = opts.forceadap; end -if isfield(opts,'forcepquad'); forcepqud = opts.forcepquad; end +if isfield(opts,'forcepquad'); forcepquad = opts.forcepquad; end if isfield(opts,'nonsmoothonly'); nonsmoothonly = opts.nonsmoothonly; end if isfield(opts,'fac'); fac = opts.fac; end if isfield(opts,'eps'); eps = opts.eps; end @@ -152,7 +152,7 @@ return end -if forcepqud +if forcepquad optsflag = []; optsflag.fac = fac; flag = flagnear(chnkr,targinfo.r,optsflag); spmat = chunkerkernevalmat_ho(chnkr,ftmp,opdims, ... @@ -165,6 +165,9 @@ % smooth for sufficiently far, adaptive otherwise +% TODO: change to chunkerkerneval system, need routine to generate +% upsampling matrix. + optsflag = []; optsflag.fac = fac; flag = flagnear(chnkr,targinfo.r,optsflag); spmat = chunkerkernevalmat_adap(chnkr,ftmp,opdims, ...