Skip to content
Snippets Groups Projects
Commit 5799d9f2 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Print more debug info [ci-skip]

parent 221f51a4
No related branches found
No related tags found
1 merge request!204Remove m_cell_global_index from Connectivity
...@@ -330,6 +330,13 @@ ConnectivityDispatcher<Dimension>::_buildNumberOfSubItemPerItemToRecvByProc() ...@@ -330,6 +330,13 @@ ConnectivityDispatcher<Dimension>::_buildNumberOfSubItemPerItemToRecvByProc()
this->_dispatchedInfo<SubItemOfItemT>().m_number_of_sub_item_per_item_to_recv_by_proc = this->_dispatchedInfo<SubItemOfItemT>().m_number_of_sub_item_per_item_to_recv_by_proc =
this->exchange(number_of_sub_item_per_item); 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> template <size_t Dimension>
...@@ -364,6 +371,12 @@ ConnectivityDispatcher<Dimension>::_buildSubItemNumbersToRecvByProc() ...@@ -364,6 +371,12 @@ ConnectivityDispatcher<Dimension>::_buildSubItemNumbersToRecvByProc()
return mutable_sub_item_numbers_to_send_by_proc; 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 = 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; this->_dispatchedInfo<SubItemOfItemT>().m_number_of_sub_item_per_item_to_recv_by_proc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment