Commit d83122c0 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#0 Remove commented code.

parent d5f75dd1
......@@ -106,23 +106,6 @@ namespace MoReFEM
Mesh& mesh)
{
// if (mpi.GetRank<int>() == 1)
// {
// std::cout << "//////////// ReduceToProcessorWise::Perform ///////////////" << std::endl;
//
// auto fii = std::find_if(processor_wise_node_bearer_list.cbegin(),
// processor_wise_node_bearer_list.cend(),
// [](const auto& ptr)
// {
// return ptr->GetNature() == ::MoReFEM::InterfaceNS::Nature::vertex
// && ptr->GetInterface().GetVertexCoordsIndexList().back() == 18;
// });
//
// if (fii != processor_wise_node_bearer_list.cend())
// std::cout << "\t COORDS 18 STILL FOUND in ReduceToProcessorWise::Perform() ON PROC 1!" << std::endl;
//
// }
const unsigned int mpi_rank = mpi.GetRank<unsigned int>();
std::unordered_map<unsigned int, unsigned int> processor_for_each_geom_elt;
......@@ -147,12 +130,6 @@ namespace MoReFEM
Utilities::PointerComparison::Less<NodeBearer::shared_ptr>(),
Utilities::PointerComparison::Equal<NodeBearer::shared_ptr>());
// std::cout << "IS SUBSET? = " << std::includes(ancillary_ghost_node_bearer_list.cbegin(),
// ancillary_ghost_node_bearer_list.cend(),
// ghost_node_bearer_list.cbegin(),
// ghost_node_bearer_list.cend(),
// Utilities::PointerComparison::Less<NodeBearer::shared_ptr>()) << std::endl;
#ifndef NDEBUG
{
assert(std::is_sorted(processor_wise_node_bearer_list.cbegin(),
......@@ -181,9 +158,6 @@ namespace MoReFEM
processor_wise_node_bearer_list,
ghost_node_bearer_list,
mesh);
// if (mpi.GetRank<int>() == 1)
// std::cout << "//////////// ENDReduceToProcessorWise::Perform ///////////////" << std::endl;
}
......@@ -253,11 +227,6 @@ namespace MoReFEM
CoordsListHelper(processor_wise_node_bearer_list, processor_wise_coords_list);
CoordsListHelper(ghost_node_bearer_list, ghosted_coords_list);
// std::cout << "NGHOST COORDS LIST = " << ghosted_coords_list.size() << std::endl;
// LOOK FOR NODE BEARR 109 HERE!
// It is more than weith than Nghost at point 3 is always 0...
//
Utilities::EliminateDuplicate(processor_wise_coords_list,
Utilities::PointerComparison::Less<Coords*>(),
Utilities::PointerComparison::Equal<Coords*>());
......@@ -266,8 +235,6 @@ namespace MoReFEM
Utilities::PointerComparison::Less<Coords*>(),
Utilities::PointerComparison::Equal<Coords*>());
// std::cout << "2 - NGHOST COORDS LIST = " << ghosted_coords_list.size() << std::endl;
const auto proc_wise_coords_list_begin = processor_wise_coords_list.cbegin();
const auto proc_wise_coords_list_end = processor_wise_coords_list.cend();
......@@ -284,8 +251,6 @@ namespace MoReFEM
ghosted_coords_list.erase(it_partition, ghosted_coords_list.end());
// std::cout << "3 - NGHOST COORDS LIST = " << ghosted_coords_list.size() << std::endl;
std::vector<unsigned int> vertex_index_list;
std::vector<unsigned int> edge_index_list;
std::vector<unsigned int> face_index_list;
......
Markdown is supported
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