ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/integrators/LangevinHullForceManager.cpp
(Generate patch)

Comparing branches/development/src/integrators/LangevinHullForceManager.cpp (file contents):
Revision 1873 by gezelter, Tue Apr 30 15:56:54 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 174 | Line 174 | namespace OpenMD {
174  
175      // Compute surface Mesh
176      surfaceMesh_->computeHull(localSites_);
177    Snapshot* currSnapshot = info_->getSnapshotManager()->getCurrentSnapshot();
177    }  
178  
179    LangevinHullForceManager::~LangevinHullForceManager() {
# Line 279 | Line 278 | namespace OpenMD {
278      // push these out to the other processors
279      
280   #ifdef IS_MPI
281 <    if (worldRank == 0) {
282 <      MPI::COMM_WORLD.Bcast(&gaussRand[0], nTriangles*3, MPI::REALTYPE, 0);
284 <    } else {
285 <      MPI::COMM_WORLD.Bcast(&gaussRand[0], nTriangles*3, MPI::REALTYPE, 0);
286 <    }
281 >    // Same command on all nodes:
282 >    MPI::COMM_WORLD.Bcast(&gaussRand[0], nTriangles*3, MPI::REALTYPE, 0);
283   #endif
284      
285      return gaussRand;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines