ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/madProps/cosCorr.c
(Generate patch)

Comparing trunk/madProps/cosCorr.c (file contents):
Revision 82 by mmeineke, Fri Aug 16 04:05:45 2002 UTC vs.
Revision 103 by mmeineke, Thu Aug 29 17:21:54 2002 UTC

# Line 11 | Line 11 | void cosCorr( char* out_prefix, char* atom1, char* ato
11    
12    
13    int i,j,k;
14 <    
15 <  double atom1Dens;
16 <  double atom2Dens;
17 <  
18 <  double atom1Constant;
19 <  double atom2Constant;
20 <  
14 >      
15    double nAtom1;
16    double nAtom2;
17    
# Line 92 | Line 86 | void cosCorr( char* out_prefix, char* atom1, char* ato
86               atom2 );
87      exit(8);
88    }
89 <  
96 <  // calculate some of the constants;
97 <  
98 <  atom1Dens = nAtom1 / boxVol;
99 <  atom2Dens = nAtom2 / boxVol;
100 <  
101 <  atom1Constant = ( 4.0 * M_PI * atom1Dens ) / 3.0;
102 <  atom2Constant = ( 4.0 * M_PI * atom2Dens ) / 3.0;
103 <  
89 >    
90    // calculate the histogram
91    
92    for( i=startFrame; i<endFrame; i++){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines