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 85 by mmeineke, Fri Aug 16 16:55:46 2002 UTC

# Line 68 | Line 68 | int main(argc, argv)
68          if( !strcmp( argv[i], "--GofR" ) ){
69            calcGofR = 1;
70            i++;
71 +          strcpy( cosCorr1, argv[i] );
72 +          i++;
73 +          strcpy( cosCorr2, argv[i] );
74 +        }
75 +
76 +        else if( !strcmp( argv[i], "--CosCorr" ) ){
77 +          calcCosCorr = 1;
78 +          i++;
79            strcpy( gofR1, argv[i] );
80            i++;
81            strcpy( gofR2, argv[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