ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/staticProps/PairCorrType.cpp
(Generate patch)

Comparing trunk/OOPSE/staticProps/PairCorrType.cpp (file contents):
Revision 803 by mmeineke, Fri Oct 10 17:10:22 2003 UTC vs.
Revision 810 by mmeineke, Fri Oct 17 21:19:07 2003 UTC

# Line 1 | Line 1
1   #include <iostream>
2   #include <cstdlib>
3   #include <cstring>
4 + #include <math.h>
5  
6   #include "simError.h"
7   #include "PairCorrType.hpp"
# Line 101 | Line 102 | void PairCorrType::setFrameVolume( double theVolume ){
102    if( isSelfSelf ) pairDensity = nAtoms1 * (nAtoms1 - 1) / volume;
103    else  pairDensity = nAtoms1 * nAtoms2 / volume;
104  
105 <  pairConstant = ( 4.0 * M_PI * pairDens ) / 3.0;
105 >  pairConstant = ( 4.0 * M_PI * pairDensity ) / 3.0;
106    
107   }
108  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines