}
//communication phase
- switch (getAllToAllMethod()) {
- case Native:
- {
- const MPI_Comm* comm = group->getComm();
- comm_interface.allToAllV(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
+ switch (getAllToAllMethod()) {
+ case Native:
+ {
+ const MPI_Comm* comm = group->getComm();
+ comm_interface.allToAllV(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
recvbuf, recvcounts, recvdispls, MPI_DOUBLE,
*comm);
- }
- break;
- case PointToPoint:
- _accessDEC->AllToAllv(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
- recvbuf, recvcounts, recvdispls, MPI_DOUBLE);
- break;
+ }
+ break;
+ case PointToPoint:
+ _accessDEC->AllToAllv(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
+ recvbuf, recvcounts, recvdispls, MPI_DOUBLE);
+ break;
}
//setting zero values in the field