GADGET-4
sizelimited_sendrecv.cc File Reference

implements a wrapper around myMPI_Sendrecv that if needed transmits the data in smaller pieces than a prescribed maximum size More...

#include "gadgetconfig.h"
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../data/allvars.h"
#include "../data/dtypes.h"
#include "../mpi_utils/mpi_utils.h"

Go to the source code of this file.

Functions

int myMPI_Sendrecv (void *sendb, size_t sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvb, size_t recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
 

Detailed Description

implements a wrapper around myMPI_Sendrecv that if needed transmits the data in smaller pieces than a prescribed maximum size

Definition in file sizelimited_sendrecv.cc.

Function Documentation

◆ myMPI_Sendrecv()

int myMPI_Sendrecv ( void *  sendb,
size_t  sendcount,
MPI_Datatype  sendtype,
int  dest,
int  sendtag,
void *  recvb,
size_t  recvcount,
MPI_Datatype  recvtype,
int  source,
int  recvtag,
MPI_Comm  comm,
MPI_Status *  status 
)

Definition at line 25 of file sizelimited_sendrecv.cc.