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 1667 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1668 by gezelter, Fri Jan 6 19:03:05 2012 UTC

# Line 200 | Line 200 | namespace OpenMD {
200        // Apply triangle force to stuntdouble vertices
201        for (vertex = vertexSDs.begin(); vertex != vertexSDs.end(); ++vertex){
202          if ((*vertex) != NULL){
203 <          Vector3d vertexForce = langevinForce / 3.0;
203 >          Vector3d vertexForce = langevinForce / RealType(3.0);
204            (*vertex)->addFrc(vertexForce);          
205          }  
206        }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines