--- trunk/madProps/cosCorr.c 2002/08/27 20:54:03 102 +++ trunk/madProps/cosCorr.c 2002/08/29 17:21:54 103 @@ -11,13 +11,7 @@ void cosCorr( char* out_prefix, char* atom1, char* ato int i,j,k; - - double atom1Dens; - double atom2Dens; - - double atom1Constant; - double atom2Constant; - + double nAtom1; double nAtom2; @@ -92,15 +86,7 @@ void cosCorr( char* out_prefix, char* atom1, char* ato atom2 ); exit(8); } - - // calculate some of the constants; - - atom1Dens = nAtom1 / boxVol; - atom2Dens = nAtom2 / boxVol; - - atom1Constant = ( 4.0 * M_PI * atom1Dens ) / 3.0; - atom2Constant = ( 4.0 * M_PI * atom2Dens ) / 3.0; - + // calculate the histogram for( i=startFrame; i