From bad6b8c67da5c659b9e3dd5eafea935ad848f96c Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 2 Oct 2017 16:32:01 -0500 Subject: [PATCH 1/2] Fix list 4 cost estimate (Fixes #79 on gitlab) --- pytential/qbx/fmm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytential/qbx/fmm.py b/pytential/qbx/fmm.py index 956f5bc0..eb290ce9 100644 --- a/pytential/qbx/fmm.py +++ b/pytential/qbx/fmm.py @@ -675,7 +675,7 @@ def assemble_performance_data(geo_data, uses_pde_expansions, nform_local += nsources - result["form_local"] = nform_local * xlat_cost(p_fmm, p_fmm) + result["form_local"] = nform_local * ncoeffs_fmm process_list4() -- GitLab From 5ecb251e04e91461b361850bbaa781a36365fd7e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 2 Oct 2017 16:32:20 -0500 Subject: [PATCH 2/2] Remove a stale FIXME --- pytential/qbx/fmm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pytential/qbx/fmm.py b/pytential/qbx/fmm.py index eb290ce9..197b058c 100644 --- a/pytential/qbx/fmm.py +++ b/pytential/qbx/fmm.py @@ -655,7 +655,6 @@ def assemble_performance_data(geo_data, uses_pde_expansions, start, end = sep_smaller_list.starts[itgt_box:itgt_box+2] nmp_eval += ntargets * (end-start) - # FIXME: This is missing a particle count multiplier result["mp_eval"] = nmp_eval * ncoeffs_fmm process_list3() -- GitLab