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 1874 by gezelter, Wed May 15 15:09:35 2013 UTC vs.
Revision 1875 by gezelter, Fri May 17 14:41:42 2013 UTC

# Line 184 | Line 184 | namespace OpenMD {
184    void LangevinHullForceManager::postCalculation(){
185    
186      int nTriangles, thisFacet;
187 <    RealType area, thisArea, thisMass;
187 >    RealType area, thisArea;
188      vector<Triangle> sMesh;
189      Triangle thisTriangle;
190      vector<Triangle>::iterator face;
# Line 200 | Line 200 | namespace OpenMD {
200  
201      // Compute surface Mesh
202      surfaceMesh_->computeHull(localSites_);
203 <    // Get total area and number of surface stunt doubles
204 <    area = surfaceMesh_->getArea();
203 >    // Get number of surface stunt doubles
204      sMesh = surfaceMesh_->getMesh();
205      nTriangles = sMesh.size();
206  
# Line 219 | Line 218 | namespace OpenMD {
218        unitNormal = thisTriangle.getUnitNormal();
219        centroid = thisTriangle.getCentroid();
220        facetVel = thisTriangle.getFacetVelocity();
222      thisMass = thisTriangle.getFacetMass();
221  
222        langevinForce = V3Zero;
223  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines