HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Functions to broadcast over all MPI ranks. More...
#include <mpivars.h>
Go to the source code of this file.
Functions | |
int | MPIBroadcast_double (double *x, int size, int root, void *comm) |
int | MPIBroadcast_integer (int *x, int size, int root, void *comm) |
int | MPIBroadcast_character (char *x, int size, int root, void *comm) |
Functions to broadcast over all MPI ranks.
Definition in file MPIBroadcast.c.
int MPIBroadcast_double | ( | double * | x, |
int | size, | ||
int | root, | ||
void * | comm | ||
) |
Broadcast an array of type double to all MPI ranks
x | array to broadcast to all ranks |
size | size of array to broadcast |
root | rank from which to broadcast |
comm | MPI communicator within which to broadcast |
Definition at line 9 of file MPIBroadcast.c.
int MPIBroadcast_integer | ( | int * | x, |
int | size, | ||
int | root, | ||
void * | comm | ||
) |
Broadcast an array of type int to all MPI ranks
x | array to broadcast to all ranks |
size | size of array to broadcast |
root | rank from which to broadcast |
comm | MPI communicator within which to broadcast |
Definition at line 23 of file MPIBroadcast.c.
int MPIBroadcast_character | ( | char * | x, |
int | size, | ||
int | root, | ||
void * | comm | ||
) |
Broadcast an array of type char to all MPI ranks
x | array to broadcast to all ranks |
size | size of array to broadcast |
root | rank from which to broadcast |
comm | MPI communicator within which to broadcast |
Definition at line 37 of file MPIBroadcast.c.