Global MPI operations
|
#include <mpi.h>
#include <vector>
Functions | |
void | PivotD (std::vector< double > &x, MPI_Comm const &icomm=MPI_COMM_WORLD) |
void PivotD | ( | std::vector< double > & | x, |
MPI_Comm const & | icomm = MPI_COMM_WORLD |
||
) |
Exchanges global minimum and maximum of the global vector x
.
[in,out] | x | local vector (double) on my process |
[in] | icomm | communicator group for MPI |