11 #if defined __cplusplus
25 return( distribution );
63 char const *nativeData, *gammaEnergy;
64 double gammaEnergy_MeV;
71 distribution->
product = product;
75 if( strcmp( product->
pop->
name,
"gamma" ) == 0 ) {
83 if( gammaEnergy != NULL ) {
84 if( strcmp( nativeData,
"angular" ) ) {
86 gammaEnergy, nativeData );
89 nativeData =
"uncorrelated";
93 if( strcmp( nativeData,
"angular" ) == 0 ) {
95 else if( strcmp( nativeData,
"uncorrelated" ) == 0 ) {
97 else if( strcmp( nativeData,
"energyAngular" ) == 0 ) {
99 else if( strcmp( nativeData,
"angularEnergy" ) == 0 ) {
101 else if( strcmp( nativeData,
"Legendre" ) == 0 ) {
103 else if( strcmp( nativeData,
"LLNLAngular_angularEnergy" ) == 0 ) {
105 else if( strcmp( nativeData,
"none" ) == 0 ) {
107 else if( strcmp( nativeData,
"unknown" ) == 0 ) {
121 #if defined __cplusplus
#define smr_setReportError2(smr, libraryID, code, fmt,...)
MCGIDI_distribution * MCGIDI_distribution_free(statusMessageReporting *smr, MCGIDI_distribution *distribution)
int MCGIDI_uncorrelated_parseFromTOM(statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution, ptwXYPoints *norms, enum MCGIDI_energyType energyType, double gammaEnergy_MeV)
int MCGIDI_misc_PQUStringToDoubleInUnitOf(statusMessageReporting *smr, char const *str, char const *toUnit, double *value)
enum MCGIDI_distributionType type
MCGIDI_energyAngular * MCGIDI_energyAngular_free(statusMessageReporting *smr, MCGIDI_energyAngular *energyAngular)
MCGIDI_KalbachMann * MCGIDI_KalbachMann_free(statusMessageReporting *smr, MCGIDI_KalbachMann *KalbachMann)
MCGIDI_angularEnergy * angularEnergy
#define smr_malloc2(smr, size, zero, forItem)
xDataTOM_element * xDataTOME_getOneElementByName(statusMessageReporting *smr, xDataTOM_element *element, char const *name, int required)
char const * xDataTOM_getAttributesValueInElement(xDataTOM_element *element, char const *name)
MCGIDI_angularEnergy * MCGIDI_angularEnergy_free(statusMessageReporting *smr, MCGIDI_angularEnergy *energyAngular)
MCGIDI_energy * MCGIDI_energy_free(statusMessageReporting *smr, MCGIDI_energy *energy)
int MCGIDI_distribution_release(statusMessageReporting *smr, MCGIDI_distribution *distribution)
MCGIDI_energyAngular * energyAngular
MCGIDI_KalbachMann * KalbachMann
MCGIDI_distribution * MCGIDI_distribution_new(statusMessageReporting *smr)
void * smr_freeMemory(void **p)
int MCGIDI_LLNLAngular_angularEnergy_parseFromTOM(statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution)
int MCGIDI_angular_parseFromTOM(statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution, ptwXYPoints *norms)
int MCGIDI_distribution_parseFromTOM(statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_product *product, MCGIDI_POPs *pops, ptwXYPoints *norms)
int MCGIDI_distribution_initialize(statusMessageReporting *smr, MCGIDI_distribution *distribution)
int MCGIDI_energyAngular_parseFromTOM(statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution)
MCGIDI_angular * MCGIDI_angular_free(statusMessageReporting *smr, MCGIDI_angular *angular)
MCGIDI_distribution distribution
int MCGIDI_angularEnergy_parseFromTOM(statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution)