103 double crossSectionInit[4] = { 0., 0., 0., 0., };
106 int subtag1_Notice = 0;
116 if( strcmp( version,
"GND 1.3" ) != 0 ) {
121 if( strcmp( element->
name,
"reactionSuite" ) != 0 ) {
132 while( isspace( *e1 ) ) ++e1;
152 if( strcmp( child->
name,
"particles" ) == 0 )
continue;
153 if( strcmp( child->
name,
"styles" ) == 0 )
continue;
154 if( strcmp( child->
name,
"documentations" ) == 0 )
continue;
155 if( strcmp( child->
name,
"resonances" ) == 0 )
continue;
156 if( strcmp( child->
name,
"summedReaction" ) == 0 )
continue;
157 if( strcmp( child->
name,
"fissionComponent" ) == 0 )
continue;
158 if( strcmp( child->
name,
"reaction" ) == 0 ) {
164 if( ir == 0 ) { target->
EMin = EMin; target->
EMax = EMax; }
165 if( EMin < target->EMin ) target->
EMin = EMin;
166 if( EMax > target->
EMax ) target->
EMax = EMax;
167 for( transportabilitiesMap::const_iterator iter = reaction->
transportabilities->begin( );
172 else if( strcmp( child->
name,
"production" ) == 0 ) {
174 else if( strcmp( child->
name,
"aliases" ) == 0 ) {
176 else if( strcmp( child->
name,
"partialGammaProduction" ) == 0 ) {
177 if( subtag1_Notice == 0 ) printf(
"Unsupported reactionSuite sub-tag = '%s'\n", child->
name );
180 printf(
"Unsupported reactionSuite sub-tag = '%s'\n", child->
name );
183 crossSectionInit[0] = target->
EMin;
184 crossSectionInit[2] = target->
EMax;
int MCGIDI_target_heated_release(statusMessageReporting *smr, MCGIDI_target_heated *target)
#define smr_allocateCopyString2(smr, s, forItem)
transportabilitiesMap * transportabilities
ptwXYPoints * crossSection
xDataTOM_element * xDataTOME_getFirstElement(xDataTOM_element *element)
static int MCGIDI_target_heated_parsePOPs(statusMessageReporting *smr, MCGIDI_target_heated *target, xDataTOM_element *element, xDataTOM_element *particleAliases)
static int MCGIDI_target_heated_parseReaction(statusMessageReporting *smr, xDataTOM_element *child, MCGIDI_target_heated *target, MCGIDI_POPs *pops, MCGIDI_reaction *reaction)
MCGIDI_POP * MCGIDI_POPs_findParticle(MCGIDI_POPs *pops, char const *name)
ptwXYPoints * ptwXY_create(ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, int64_t primarySize, int64_t secondarySize, int64_t length, double const *xy, nfu_status *status, int userFlag)
xDataTOM_attributionList attributes
int xDataTOMAL_copyAttributionList(statusMessageReporting *smr, xDataTOM_attributionList *desc, xDataTOM_attributionList *src)
ptwXYPoints * ptwXY_free(ptwXYPoints *ptwXY)
xDataTOM_attributionList attributes
#define MCGIDI_misc_pointerToTOMAttributeIfAllOk3(smr, path, required, attributes, name)
void MCGIDI_misc_updateTransportabilitiesMap(transportabilitiesMap *transportabilities, int PoPID, enum MCGIDI_transportability transportability)
xDataTOM_element * xDataTOM_getDocumentsElement(xDataTOM_TOM *TOM)
xDataTOM_TOM * xDataTOM_importFile(statusMessageReporting *smr, const char *fileName)
#define smr_setReportError2(smr, libraryID, code, fmt,...)
xDataTOM_element * xDataTOME_getOneElementByName(statusMessageReporting *smr, xDataTOM_element *element, char const *name, int required)
ptwXYPoints * crossSection
enum nfu_status_e nfu_status
transportabilitiesMap * transportabilities
#define smr_malloc2(smr, size, zero, forItem)
MCGIDI_reaction * reactions
int smr_isOk(statusMessageReporting *smr)
int xDataTOM_numberOfElementsByName(statusMessageReporting *smr, xDataTOM_element *element, char const *name)
ptwXYPoints * ptwXY_add_ptwXY(ptwXYPoints *ptwXY1, ptwXYPoints *ptwXY2, nfu_status *status)
double MCGIDI_misc_getUnitConversionFactor(statusMessageReporting *smr, char const *fromUnit, char const *toUnit)
void * xDataTOM_freeTOM(statusMessageReporting *smr, xDataTOM_TOM **TOM)
xDataTOM_element * xDataTOME_getNextElement(xDataTOM_element *element)
const char * nfu_statusMessage(nfu_status status)
int MCGIDI_reaction_fixDomains(statusMessageReporting *smr, MCGIDI_reaction *reaction, double EMin, double EMax, nfu_status *status)
int MCGIDI_reaction_getDomain(statusMessageReporting *smr, MCGIDI_reaction *reaction, double *EMin, double *EMax)
char * xDataTOMMisc_getAbsPath(statusMessageReporting *smr, const char *fileName)
char const * xDataTOM_getAttributesValueInElement(xDataTOM_element *element, char const *name)
MCGIDI_POP * projectilePOP