| # | Line 144 | Line 144 | namespace OpenMD { | |
|---|---|---|
| 144 | } | |
| 145 | } | |
| 146 | #ifdef IS_MPI | |
| 147 | < | MPI::COMM_WORLD.Allreduce(MPI::IN_PLACE, &fieldPot, 1, MPI::REALTYPE, |
| 148 | < | MPI::SUM); |
| 147 | > | MPI_Allreduce(MPI_IN_PLACE, &fieldPot, 1, MPI_REALTYPE, |
| 148 | > | MPI_SUM, MPI_COMM_WORLD); |
| 149 | #endif | |
| 150 | Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot(); | |
| 151 | longRangePotential = snap->getLongRangePotentials(); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |