41#if defined __cplusplus
72 int pointwiseRequired ) {
104 nextProduct = product->
next;
115 int pointwiseRequired ) {
138 channel->
Q = strtod( channel->
QString, &p );
168 if(
smr_isOk( smr ) ) _tpia_channel_getProductData( smr, channelElement, channel );
198 if( index < 0 )
return( NULL );
216 return( strcmp( channel->
genre,
"production" ) == 0 );
223 int crossSectionType ) {
int smr_isOk(statusMessageReporting *smr)
xData_attributionList attributes
tpia_1dData availableEnergyGrouped
tpia_target_heated * target
tpia_decayChannel decayChannel
tpia_1dData crossSectionPointwise
tpia_1dData crossSectionGrouped
tpia_data_frame crossSectionFrame
xData_attributionList attributes
#define tpia_misc_pointerToAttributeIfAllOk2(smr, element, required, attributes, name)
tpia_product * tpia_channel_getProductByIndex(statusMessageReporting *smr, tpia_channel *channel, int index)
tpia_product * tpia_channel_getFirstProduct(tpia_channel *channel)
int tpia_frame_setFromElement(statusMessageReporting *smr, xData_element *element, int dimension, tpia_data_frame *frame)
tpia_product * tpia_decayChannel_getFirstProduct(tpia_decayChannel *decayChannel)
int tpia_channel_getFromElement(statusMessageReporting *smr, tpia_target_heated *target, xData_element *channelElement, tpia_channel *channel, int pointwiseRequired)
double tpia_misc_getPointwiseCrossSectionAtE(statusMessageReporting *smr, tpia_1dData *crossSection, double *energyGrid, xData_Int index, double e_in)
tpia_channel * tpia_channel_free(statusMessageReporting *smr, tpia_channel *channel)
tpia_channel * tpia_channel_create(statusMessageReporting *smr)
#define tpia_crossSectionType_grouped
int tpia_product_getDecayChannelFromElement(statusMessageReporting *smr, xData_element *parentElement, tpia_channel *channel, tpia_product *parentProduct, tpia_product **priorProductNext)
double * tpia_misc_get2dxindex_y_data(statusMessageReporting *smr, xData_element *element, xData_Int *start, xData_Int *end, double *xValues)
tpia_channel * tpia_channel_createGetFromElement(statusMessageReporting *smr, tpia_target_heated *target, xData_element *channelElement, int pointwiseRequired)
int tpia_channel_release(statusMessageReporting *smr, tpia_channel *channel)
int tpia_channel_numberOfProducts(statusMessageReporting *smr, tpia_channel *channel)
tpia_product * tpia_product_free(statusMessageReporting *smr, tpia_product *product)
double tpia_channel_getCrossSectionAtE(statusMessageReporting *smr, tpia_channel *channel, xData_Int iEg, double e_in, int crossSectionType)
xData_Int tpia_target_heated_getEIndex(tpia_target_heated *target, double e_in)
int tpia_misc_get2d_xShared_yHistogram_data_Grouped(statusMessageReporting *smr, xData_element *element, tpia_1dData *group)
tpia_product * tpia_decayChannel_getNextProduct(tpia_product *product)
int tpia_channel_isProduction(statusMessageReporting *smr, tpia_channel *channel)
#define tpia_crossSectionType_pointwise
int tpia_channel_initialize(statusMessageReporting *smr, tpia_channel *channel)
void * xData_free(statusMessageReporting *smr, void *p)
int xData_copyAttributionList(statusMessageReporting *smr, xData_attributionList *dest, xData_attributionList *src)
int xData_releaseAttributionList(statusMessageReporting *smr, xData_attributionList *attributes)
xData_element * xData_getOneElementByTagName(statusMessageReporting *smr, xData_element *element, char *name, int required)
int xData_addToAccessed(statusMessageReporting *smr, xData_element *element, int increment)
xData_Int xData_convertAttributeTo_xData_Int(statusMessageReporting *smr, xData_element *element, const char *name, xData_Int *n)
#define xData_malloc2(smr, size, zero, forItem)