1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 07:17:06 +01:00

Improved the gamma quite a bit.

Serial rng's which are set on node zero and broadcaste
This commit is contained in:
Peter Boyle
2015-04-24 20:21:40 +01:00
parent 2a67214f9d
commit fc32450360
11 changed files with 151 additions and 28 deletions

View File

@ -92,5 +92,14 @@ void CartesianCommunicator::Broadcast(int root,void* data, int bytes)
communicator);
}
void CartesianCommunicator::BroadcastWorld(int root,void* data, int bytes)
{
MPI_Bcast(data,
bytes,
MPI_BYTE,
root,
MPI_COMM_WORLD);
}
}