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

Comparing trunk/madProps/madProps.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 73 | Line 73 | int main(argc, argv)
73            strcpy( gofR2, argv[i] );
74          }
75  
76 +        else if( !strcmp( argv[i], "--CosCorr" ) ){
77 +          calcCosCorr = 1;
78 +          i++;
79 +          strcpy( cosCorr1, argv[i] );
80 +          i++;
81 +          strcpy( cosCorr2, argv[i] );
82 +        }
83 +
84          else if( !strcmp( argv[i], "--MuCorr") ){
85            calcMuCorr = 1;
86            i++;
# Line 83 | Line 91 | int main(argc, argv)
91            haveStartFrame = 1;
92            i++;
93            startFrame = atoi(argv[i]);
94 +          startFrame--;
95          }
96  
97          else if( !strcmp( argv[i], "--endFrame" ) ){
# Line 458 | Line 467 | void usage(){
467                  "                               -note: \"all\" will do all atoms\n"
468                  "   --MuCorr <atom>           Calculate mu correlation of atom\n"
469                  "   --CosCorr <atom1> <atom2> Calculate the cos correlation between atom1 and atom2\n"
470 <                "  --startFrame <frame#>      Specifies a frame to start correlating\n"
471 <                "  --endFrame <frame#>        Specifies a frame to stop correlating.\n"
470 >                "   --startFrame <frame#>     Specifies a frame to start correlating\n"
471 >                "   --endFrame <frame#>       Specifies a frame to stop correlating.\n"
472                  
473                  "\n"
474                  "\n",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines