diff --git a/src/mesh/ConnectivityDispatcher.cpp b/src/mesh/ConnectivityDispatcher.cpp index 1ce0c915487ee681fe6172c099873a05408fb0a0..4c3d012a5e8ecec695691b0ff365a0eaa631d758 100644 --- a/src/mesh/ConnectivityDispatcher.cpp +++ b/src/mesh/ConnectivityDispatcher.cpp @@ -330,6 +330,13 @@ ConnectivityDispatcher<Dimension>::_buildNumberOfSubItemPerItemToRecvByProc() this->_dispatchedInfo<SubItemOfItemT>().m_number_of_sub_item_per_item_to_recv_by_proc = this->exchange(number_of_sub_item_per_item); + + for (size_t i_rank = 0; i_rank < parallel::size(); ++i_rank) { + std::cout << "rcv from " << i_rank << ": " << rang::fgB::red << itemName(SubItemOfItemT::item_type) << "->" + << itemName(SubItemOfItemT::sub_item_type) << ": " + << this->_dispatchedInfo<SubItemOfItemT>().m_number_of_sub_item_per_item_to_recv_by_proc[i_rank] + << rang::fg::reset << '\n'; + } } template <size_t Dimension> @@ -364,6 +371,12 @@ ConnectivityDispatcher<Dimension>::_buildSubItemNumbersToRecvByProc() return mutable_sub_item_numbers_to_send_by_proc; }(); + for (size_t i_rank = 0; i_rank < parallel::size(); ++i_rank) { + std::cout << "sub_ttem_nb " << i_rank << ": " << rang::fgB::magenta << itemName(SubItemOfItemT::item_type) << "->" + << itemName(SubItemOfItemT::sub_item_type) << ": " << sub_item_numbers_to_send_by_proc[i_rank] + << rang::fg::reset << '\n'; + } + const auto& number_of_sub_item_per_item_to_recv_by_proc = this->_dispatchedInfo<SubItemOfItemT>().m_number_of_sub_item_per_item_to_recv_by_proc;