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

Comparing branches/development/src/applications/staticProps/BondOrderParameter.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 284 | Line 284 | namespace OpenMD {
284              }
285            }
286            
287 <          w_hat[l] = w[l] / pow(q2[l], 1.5);
287 >          w_hat[l] = w[l] / pow(q2[l], RealType(1.5));
288          }
289  
290          collectHistogram(q_l, w_hat);
# Line 329 | Line 329 | namespace OpenMD {
329          }
330        }
331        
332 <      W_hat[l] = W[l] / pow(Q2[l], 1.5);
332 >      W_hat[l] = W[l] / pow(Q2[l], RealType(1.5));
333      }
334      
335      writeOrderParameter(Q, W_hat);    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines