| 204 |
|
|
| 205 |
|
if( nTotObjs != simnfo->getTotIntegrableObjects() ){ |
| 206 |
|
sprintf( painCave.errMsg, |
| 207 |
< |
"DumpReader error. %s n_atoms, %d, " |
| 208 |
< |
"does not match the BASS file's n_atoms, %d.\n", |
| 207 |
> |
"DumpReader error. %s nIntegrable, %d, " |
| 208 |
> |
"does not match the meta-data file's nIntegrable, %d.\n", |
| 209 |
|
inFileName.c_str(), nTotObjs, simnfo->getTotIntegrableObjects()); |
| 210 |
|
painCave.isFatal = 1; |
| 211 |
|
simError(); |
| 286 |
|
|
| 287 |
|
nitems = atoi( read_buffer ); |
| 288 |
|
|
| 289 |
< |
// Check to see that the number of integrable objects in the intial configuration file is the |
| 290 |
< |
// same as declared in simBass. |
| 289 |
> |
// Check to see that the number of integrable objects in the |
| 290 |
> |
// intial configuration file is the same as derived from the |
| 291 |
> |
// meta-data file. |
| 292 |
|
|
| 293 |
|
if( nTotObjs != nitems){ |
| 294 |
|
sprintf( painCave.errMsg, |
| 295 |
< |
"DumpReadererror. %s n_atoms, %d, " |
| 296 |
< |
"does not match the BASS file's n_atoms, %d.\n", |
| 295 |
> |
"DumpReader Error. %s nIntegrable, %d, " |
| 296 |
> |
"does not match the meta-data file's nIntegrable, %d.\n", |
| 297 |
|
inFileName.c_str(), nTotObjs, simnfo->getTotIntegrableObjects()); |
| 298 |
|
haveError= 1; |
| 299 |
|
simError(); |
| 466 |
|
if( strcmp( foo, sd->getType() ) ){ |
| 467 |
|
sprintf( painCave.errMsg, |
| 468 |
|
"DumpReader error. Does not" |
| 469 |
< |
" match the BASS atom %s.\n", |
| 469 |
> |
" match the meta-data atom %s.\n", |
| 470 |
|
sd->getType() ); |
| 471 |
|
return strdup( painCave.errMsg ); |
| 472 |
|
} |