diff --git a/include/scalfmm/lists/omp.hpp b/include/scalfmm/lists/omp.hpp index 1c4988f0180fe2553e386332c9f71d4fc066595e..dd9caa3b1b1f792c659257e355115c4546432930 100644 --- a/include/scalfmm/lists/omp.hpp +++ b/include/scalfmm/lists/omp.hpp @@ -164,7 +164,7 @@ namespace scalfmm::list::omp { #pragma omp single nowait { - build_m2l_interaction_list(source_tree, target_tree, neighbour_separation); + build_m2l_interaction_list(source_tree, target_tree, neighbour_separation, neighbour_separation); } #pragma omp single { @@ -186,8 +186,9 @@ namespace scalfmm::list::omp */ template<typename SourceTreeType, typename TargetTreeType, typename FmmOperatorType> //NearFieldType, typename NearFieldType> - inline auto build_interaction_lists(SourceTreeType& source_tree, TargetTreeType& target_tree, - FmmOperatorType const& fmm_operator, bool verbose = false) -> void + [[deprecated("Use build_interaction_lists(tre, tre, ffm_operator, verbose) instead.")]] inline auto + build_interaction_lists(SourceTreeType& source_tree, TargetTreeType& target_tree, + FmmOperatorType const& fmm_operator, bool verbose = false) -> void { int leaf_neighbour_separation{fmm_operator.near_field().separation_criterion()}; int neighbour_separation{fmm_operator.near_field().separation_criterion()}; diff --git a/include/scalfmm/lists/sequential.hpp b/include/scalfmm/lists/sequential.hpp index 484d398c032dd049e1165d826ccd578c1e7b258d..b2853d36c2baa6481ba8b76135cb4b8d6b59e75b 100644 --- a/include/scalfmm/lists/sequential.hpp +++ b/include/scalfmm/lists/sequential.hpp @@ -137,9 +137,9 @@ namespace scalfmm::list::sequential * @param[in] mutual boolean to specify if the direct pass use a symmetric algorithm (mutual interactions) */ template<typename SourceTreeType, typename TargetTreeType> - inline auto build_interaction_lists(SourceTreeType& source_tree, TargetTreeType& target_tree, - const int& neighbour_separation, const bool mutual, - int leaf_neighbour_separation = -1) -> void + [[deprecated("Use build_interaction_lists(tre, tre, ffm_operator, verbose) instead.")]] inline auto + build_interaction_lists(SourceTreeType& source_tree, TargetTreeType& target_tree, const int& neighbour_separation, + const bool mutual, int leaf_neighbour_separation = -1) -> void { if(leaf_neighbour_separation == -1) {