Skip to content

Commit

Permalink
include allocation status in output
Browse files Browse the repository at this point in the history
  • Loading branch information
lroberts36 committed Nov 4, 2024
1 parent 5cddc0d commit 207c2dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bvals/comms/bnd_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ BndId BndId::GetSend(MeshBlock *pmb, const NeighborBlock &nb,

void BndId::PrintInfo(const std::string &start) {
printf("%s var %s (%i -> %i) starting at %i with size %i (Total combined buffer size = "
"%i, buffer size = %i) [rank = %i]\n",
"%i, buffer size = %i, buf_allocated = %i) [rank = %i]\n",
start.c_str(), Variable<Real>::GetLabel(var_id()).c_str(), send_gid(),
recv_gid(), start_idx(), size(), combined_buf.size(), buf.size(),
Globals::my_rank);
buf_allocated, Globals::my_rank);
}

BndInfo BndInfo::GetSendBndInfo(MeshBlock *pmb, const NeighborBlock &nb,
Expand Down

0 comments on commit 207c2dc

Please sign in to comment.