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

Comparing trunk/OOPSE/staticProps/staticProps.cpp (file contents):
Revision 885 by mmeineke, Fri Dec 19 15:12:23 2003 UTC vs.
Revision 1043 by mmeineke, Mon Feb 9 20:38:38 2004 UTC

# Line 96 | Line 96 | int main(int argC,char* argV[]){
96          // parse long word options
97          
98          if( !strcmp( argV[i], "--gofr" ) ){
99 <          
99 >
100            i++;
101            if( i>=argC ){
102              sprintf( painCave.errMsg,
# Line 124 | Line 124 | int main(int argC,char* argV[]){
124            havePairCorrs = true;
125          }
126  
127 <        if( !strcmp( argV[i], "--gofrTheta" ) ){
127 >        else if( !strcmp( argV[i], "--gofrTheta" ) ){
128            
129            i++;
130            if( i>=argC ){
# Line 153 | Line 153 | int main(int argC,char* argV[]){
153            havePairCorrs = true;
154          }
155  
156 <        if( !strcmp( argV[i], "--gofrOmega" ) ){
156 >        else if( !strcmp( argV[i], "--gofrOmega" ) ){
157            
158            i++;
159            if( i>=argC ){
# Line 441 | Line 441 | int main(int argC,char* argV[]){
441           nFrames );
442    fflush(stdout);
443  
444 <  infoArray = new SimInfo[nFrames];
444 >  infoArray = new SimInfo;
445  
446    printf("Parsing the bass file, and initializing the "
447           "Simulation Frames..." );
448    fflush(stdout);
449    
450    startMe = new SimSetup();
451 <  startMe->setSimInfo( infoArray, nFrames );
451 >  startMe->setSimInfo( infoArray );
452 >  startMe->suspendInit();
453    startMe->parseFile( inName );
454    startMe->createSim();
455  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines