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

Comparing branches/development/src/applications/hydrodynamics/ApproximationModel.cpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1668 by gezelter, Fri Jan 6 19:03:05 2012 UTC

# Line 152 | Line 152 | namespace OpenMD {
152      }
153  
154      // add the volume correction
155 <    Xiorr += (6.0 * viscosity * volume) * I;    
155 >    Xiorr += (RealType(6.0) * viscosity * volume) * I;    
156      
157      Xiott *= PhysicalConstants::viscoConvert;
158      Xiotr *= PhysicalConstants::viscoConvert;
# Line 324 | Line 324 | namespace OpenMD {
324        }
325      }
326      // add the volume correction here:
327 <    Xirr += (6.0 * viscosity * volume) * I;    
327 >    Xirr += (RealType(6.0) * viscosity * volume) * I;    
328      
329      Xitt *= PhysicalConstants::viscoConvert;
330      Xitr *= PhysicalConstants::viscoConvert;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines