| 96 |
|
// parse long word options |
| 97 |
|
|
| 98 |
|
if( !strcmp( argV[i], "--gofr" ) ){ |
| 99 |
< |
|
| 99 |
> |
|
| 100 |
|
i++; |
| 101 |
|
if( i>=argC ){ |
| 102 |
|
sprintf( painCave.errMsg, |
| 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 ){ |
| 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 ){ |
| 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 |
|
|