Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lroberts36 committed Nov 14, 2024
1 parent d5d4328 commit 255e85a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bvals/comms/boundary_communication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ TaskStatus ReceiveBoundBufs(std::shared_ptr<MeshData<Real>> &md) {
// Receive any messages that are around
bool all_combined_received =
pmesh->pcombined_buffers->TryReceiveAny(md.get(), bound_type);
//all_received = all_received && all_combined_received;
// all_received = all_received && all_combined_received;
}
const bool comb_comm = pmesh->do_combined_comms;
std::for_each(std::begin(cache.buf_vec), std::end(cache.buf_vec),
Expand Down
4 changes: 2 additions & 2 deletions src/utils/communication_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ void CommBuffer<T>::Send(bool local) noexcept {
"Trying to send zero size buffer, which will be interpreted as sending_null.");
PARTHENON_MPI_CHECK(MPI_Wait(my_request_.get(), MPI_STATUS_IGNORE));
PARTHENON_MPI_CHECK(MPI_Isend(buf_.data(), buf_.size(),
MPITypeMap<buf_base_t>::type(), recv_rank_, tag_,
comm_, my_request_.get()));
MPITypeMap<buf_base_t>::type(), recv_rank_, tag_, comm_,
my_request_.get()));
#endif
}
if (*comm_type_ == BuffCommType::receiver) {
Expand Down

0 comments on commit 255e85a

Please sign in to comment.