Function t8_forest_ghost_receive_message

Function Documentation

static char *t8_forest_ghost_receive_message(int recv_rank, sc_MPI_Comm comm, sc_MPI_Status status, int *recv_bytes)

Receive a single message from a remote process, after the message was successfully probed. Returns the allocated receive buffer and the number of bytes received

Parameters:
  • recv_rank[in] The receiving rank.

  • comm[in] The MPI communicator.

  • status[in] The sc_MPI_Status.

  • recv_bytes[in] The number of bytes to be received.

Returns:

The allocated receive buffer and the number of bytes received.