Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3cf60be7 authored by Olivier COULAUD's avatar Olivier COULAUD
Browse files

Removal of dead code and suppression of deprecated keywords in the construction of lists.

parent 9da1aca7
Branches
No related tags found
No related merge requests found
Pipeline #1166764 skipped
......@@ -186,9 +186,8 @@ namespace scalfmm::list::omp
*/
template<typename SourceTreeType, typename TargetTreeType,
typename FmmOperatorType> //NearFieldType, typename NearFieldType>
[[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
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()};
......
......@@ -137,9 +137,6 @@ 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>
#ifndef SCALFMM_UNITS
[[deprecated("Use build_interaction_lists(tre, tre, ffm_operator, verbose) instead.")]]
#endif
inline auto build_interaction_lists(SourceTreeType& source_tree, TargetTreeType& target_tree,
const int& neighbour_separation, const bool mutual,
int leaf_neighbour_separation = -1) -> void
......
......@@ -399,7 +399,6 @@ namespace scalfmm::list
last_group_index = group_symbolics.idx_global;
found = true;
// std::cout << " found !\n";
// ++counter_existing_component;
}
}
// If we are out of block
......@@ -419,7 +418,6 @@ namespace scalfmm::list
{
first_out_left = false;
last_component_index = 0;
// ++counter_existing_component;
}
}
// Then we go up to find the others
......@@ -429,10 +427,6 @@ namespace scalfmm::list
list::get_interacting_component_out_right(
begin_of_groups, end_of_groups, cell_target, morton_index_interaction, last_group_index,
counter_existing_component, index_interaction, last_component_index);
// if(found)
// {
// ++counter_existing_component;
// }
}
}
// or we go on the right
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment