42#if defined __cplusplus
57 return( multiplicity );
98 return( multiplicity );
106 const char *timeScale;
107 int isDelayedNeutrons;
114 if( strcmp( data->
name,
"grouped" ) == 0 ) {
116 else if( strcmp( data->
name,
"pointwise" ) == 0 ) {
129 double *dTimeScale ) {
134 *isDelayedNeutrons = 0;
137 if( *timeScale != NULL ) {
138 if( strcmp( *timeScale,
"prompt" ) ) {
139 if( strncmp( *timeScale,
"delayed", 7 ) ) {
143 for( p = &((*timeScale)[7]); *p; p++ )
if( !isspace( *p ) )
break;
149 *dTimeScale = strtod( p, &e );
155 *isDelayedNeutrons = 1;
162#if defined __cplusplus
xData_Int numberOfPointwise
xData_attributionList attributes
int tpia_misc_setMessageError_Element(statusMessageReporting *smr, void *userInterface, xData_element *element, const char *file, int line, int code, const char *fmt,...)
int tpia_multiplicity_release(statusMessageReporting *smr, tpia_multiplicity *multiplicity)
int tpia_frame_setFromElement(statusMessageReporting *smr, xData_element *element, int dimension, tpia_data_frame *frame)
int tpia_multiplicity_getTimeScaleFromElement(statusMessageReporting *smr, xData_element *element, const char **timeScale, int *isDelayedNeutrons, double *dTimeScale)
tpia_multiplicity * tpia_multiplicity_createGetFromElement(statusMessageReporting *smr, xData_element *multiplicityElement, int nGroups)
tpia_multiplicity * tpia_multiplicity_create(statusMessageReporting *smr)
int tpia_frame_setFromString(statusMessageReporting *smr, const char *forItem, const char *value, int dimension, tpia_data_frame *frame)
double * tpia_misc_get2dx_y_data(statusMessageReporting *smr, xData_element *element, xData_Int *length)
tpia_multiplicity * tpia_multiplicity_free(statusMessageReporting *smr, tpia_multiplicity *multiplicity)
int tpia_misc_get2d_xShared_yHistogram_data_Grouped(statusMessageReporting *smr, xData_element *element, tpia_1dData *group)
int tpia_multiplicity_getFromElement(statusMessageReporting *smr, xData_element *multiplicityElement, tpia_multiplicity *multiplicity, int nGroups)
int tpia_multiplicity_initialize(statusMessageReporting *smr, tpia_multiplicity *multiplicity)
void * xData_free(statusMessageReporting *smr, void *p)
int xData_addToAccessed(statusMessageReporting *smr, xData_element *element, int increment)
xData_element * xData_getNextElement(xData_element *element)
xData_element * xData_getFirstElement(xData_element *element)
char * xData_getAttributesValue(xData_attributionList *attributes, const char *name)
#define xData_malloc2(smr, size, zero, forItem)