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

Comparing branches/development/src/brains/SimInfo.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 1194 | Line 1194 | namespace OpenMD {
1194      
1195      det = intTensor.determinant();
1196      sysconstants = geomCnst/(RealType)nGlobalIntegrableObjects_;
1197 <    volume = 4.0/3.0*NumericConstant::PI*pow(sysconstants,3.0/2.0)*sqrt(det);
1197 >    volume = 4.0/3.0*NumericConstant::PI*pow(sysconstants,geomCnst)*sqrt(det);
1198      return;
1199    }
1200  
# Line 1210 | Line 1210 | namespace OpenMD {
1210      
1211      detI = intTensor.determinant();
1212      sysconstants = geomCnst/(RealType)nGlobalIntegrableObjects_;
1213 <    volume = 4.0/3.0*NumericConstant::PI*pow(sysconstants,3.0/2.0)*sqrt(detI);
1213 >    volume = 4.0/3.0*NumericConstant::PI*pow(sysconstants,geomCnst)*sqrt(detI);
1214      return;
1215    }
1216   /*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines