40 #if defined __cplusplus
83 const char *targetName ) {
87 if( ( targetPath =
tpia_map_findTarget( smr, map, evaluation, projectileName, targetName ) ) == NULL )
return( 1 );
94 const char *targetName ) {
100 if( targetPath == NULL )
return( NULL );
150 int i, iHeated, nHeated = 0, status = 1;
155 char const *contents;
159 if( ( target->
absPath =
xDataMisc_getAbsPath( smr, fileName ) ) == NULL )
return( _tpia_target_releaseAndReturnOne( smr, target ) );
160 if( ( doc =
xData_parseReadFile( smr, fileName, NULL, NULL ) ) == NULL )
return( _tpia_target_releaseAndReturnOne( smr, target ) );
162 if( strcmp( element->
name,
"xTarget" ) != 0 ) {
174 if( strcmp( child->name,
"target" ) != 0 ) {
193 if( i > 0 )
smr_setMessageError( smr, NULL, __FILE__, __LINE__, 1,
"target does not have a temperature attribute" );
197 for( iHeated = 0; iHeated < nHeated; iHeated++ )
if( target->
heatedTargets[iHeated].
temperature > temperature )
break;
232 if( i == nHeated ) i = 0;
309 smr_setMessageError( smr, NULL, __FILE__, __LINE__, 1,
"temperature index = %d not read in", index );
335 if( !
smr_isOk( smr ) )
return( -1 );
345 if( !
smr_isOk( smr ) )
return( NULL );
351 smr_setMessageError( smr, NULL, __FILE__, __LINE__, 1,
"Invalue crossSectionType = %d", crossSectionType );
358 int crossSectionType ) {
361 double xsec = 0., xsec1, xsec2;
381 int crossSectionType ) {
384 double xsec = 0., xsec1, xsec2;
408 nProductData, productData ) );
419 #if defined __cplusplus