Commit 81c3404a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

more detailed cost model

parent 0e46fa3b
Pipeline #80477 passed with stages
in 18 minutes and 21 seconds
......@@ -1247,7 +1247,7 @@ template<typename T> auto getNuNv(double epsilon,
size_t nv=2*good_size_complex(size_t(nydirty*ofactor*0.5)+1);
double logterm = log(nu*nv)/log(nref_fft*nref_fft);
double fftcost = nu/nref_fft*nv/nref_fft*logterm*costref_fft;
double gridcost = 1e-9*nvis*supp*nvec*vlen;
double gridcost = 2.2e-10*nvis*(supp*nvec*vlen + ((2*nvec+1)*(supp+3)*vlen));
if (do_wstacking)
{
double dw = 0.5/ofactor/abs(nmin);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment