HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Functions to compute the maximum over all MPI ranks. More...
#include <mpivars.h>
Go to the source code of this file.
Functions | |
int | MPIMax_integer (int *global, int *var, int size, void *comm) |
int | MPIMax_double (double *global, double *var, int size, void *comm) |
Functions to compute the maximum over all MPI ranks.
Definition in file MPIMax.c.
int MPIMax_integer | ( | int * | global, |
int * | var, | ||
int | size, | ||
void * | comm | ||
) |
Compute the global maximum over all MPI ranks in a given communicator for int datatype.
global | array to contain the global maximums |
var | the local array |
size | size of the local array |
comm | MPI communicator |
int MPIMax_double | ( | double * | global, |
double * | var, | ||
int | size, | ||
void * | comm | ||
) |
Compute the global maximum over all MPI ranks in a given communicator for double datatype.
global | array to contain the global maximums |
var | the local array |
size | size of the local array |
comm | MPI communicator |