ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/perturbations/UniformField.cpp
(Generate patch)

Comparing trunk/src/perturbations/ElectricField.cpp (file contents):
Revision 1908 by gezelter, Fri Jul 19 21:25:45 2013 UTC vs.
Revision 1987 by gezelter, Thu Apr 17 19:07:31 2014 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines