| Geant4-11
    | 
Go to the source code of this file.
| Functions | |
| nfu_status | ptwXY_applyFunction (ptwXYPoints *ptwXY1, ptwXY_applyFunction_callback func, void *argList, int checkForRoots) | 
| static nfu_status | ptwXY_applyFunction2 (ptwXYPoints *ptwXY1, double y1, double y2, ptwXYPoint *p1, ptwXYPoint *p2, ptwXY_applyFunction_callback func, void *argList, int level, int checkForRoots) | 
| static nfu_status | ptwXY_applyFunctionZeroCrossing (ptwXYPoints *ptwXY1, double y1, double y2, ptwXYPoint *p1, ptwXYPoint *p2, ptwXY_applyFunction_callback func, void *argList) | 
| ptwXYPoints * | ptwXY_createFromFunction (int n, double *xs, ptwXY_createFromFunction_callback func, void *argList, double accuracy, int checkForRoots, int biSectionMax, nfu_status *status) | 
| ptwXYPoints * | ptwXY_createFromFunction2 (ptwXPoints *xs, ptwXY_createFromFunction_callback func, void *argList, double accuracy, int checkForRoots, int biSectionMax, nfu_status *status) | 
| static nfu_status | ptwXY_createFromFunctionBisect (ptwXYPoints *ptwXY, double x1, double y1, double x2, double y2, ptwXY_createFromFunction_callback func, void *argList, int level, int checkForRoots, double eps) | 
| static nfu_status | ptwXY_createFromFunctionZeroCrossing (ptwXYPoints *ptwXY, double x1, double y1, double x2, double y2, ptwXY_createFromFunction_callback func, void *argList, double eps) | 
| ptwXYPoints * | ptwXY_fromString (char const *str, ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, char **endCharacter, nfu_status *status) | 
| void | ptwXY_showInteralStructure (ptwXYPoints *ptwXY, FILE *f, int printPointersAsNull) | 
| void | ptwXY_simplePrint (ptwXYPoints *ptwXY, char *format) | 
| void | ptwXY_simpleWrite (ptwXYPoints *ptwXY, FILE *f, char *format) | 
| void | ptwXY_update_biSectionMax (ptwXYPoints *ptwXY1, double oldLength) | 
| nfu_status ptwXY_applyFunction | ( | ptwXYPoints * | ptwXY1, | 
| ptwXY_applyFunction_callback | func, | ||
| void * | argList, | ||
| int | checkForRoots | ||
| ) | 
Definition at line 146 of file ptwXY_misc.cc.
References ptwXYPoints_s::biSectionMax, ptwXYPoints_s::interpolation, ptwXYPoints_s::length, nfu_invalidInterpolation, nfu_Okay, nfu_otherInterpolation, ptwXYPoints_s::points, ptwXY_applyFunction2(), ptwXY_interpolationFlat, ptwXY_interpolationOther, ptwXY_simpleCoalescePoints(), ptwXY_update_biSectionMax(), ptwXYPoints_s::status, and ptwXYPoint_s::y.
Referenced by ptwXY_pow().
| 
 | static | 
Definition at line 175 of file ptwXY_misc.cc.
References ptwXYPoints_s::accuracy, ptwXYPoints_s::biSectionMax, ClosestAllowXFactor, DBL_EPSILON, ptwXYPoints_s::interpolation, nfu_Okay, ptwXY_applyFunction2(), ptwXY_applyFunctionZeroCrossing(), ptwXY_interpolatePoint(), ptwXY_setValueAtX(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_applyFunction(), and ptwXY_applyFunction2().
| 
 | static | 
Definition at line 201 of file ptwXY_misc.cc.
References ptwXYPoints_s::interpolation, nfu_badInput, nfu_Okay, ptwXY_interpolatePoint(), ptwXY_setValueAtX(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_applyFunction2().
| ptwXYPoints * ptwXY_createFromFunction | ( | int | n, | 
| double * | xs, | ||
| ptwXY_createFromFunction_callback | func, | ||
| void * | argList, | ||
| double | accuracy, | ||
| int | checkForRoots, | ||
| int | biSectionMax, | ||
| nfu_status * | status | ||
| ) | 
Definition at line 40 of file ptwXY_misc.cc.
References ClosestAllowXFactor, DBL_EPSILON, eps, ptwXYPoints_s::length, CLHEP::detail::n, nfu_Okay, nfu_tooFewPoints, nfu_XNotAscending, ptwXYPoints_s::points, ptwXY_createFromFunctionBisect(), ptwXY_createFromFunctionZeroCrossing(), ptwXY_free(), ptwXY_interpolationLinLin, ptwXY_new(), ptwXY_setValueAtX_overrideIfClose(), ptwXY_simpleCoalescePoints(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by MCGIDI_energy_parseMadlandNixFromTOM(), MCGIDI_energy_parseNBodyPhaseSpaceFromTOM(), nf_Legendre_to_ptwXY(), and ptwXY_createFromFunction2().
| ptwXYPoints * ptwXY_createFromFunction2 | ( | ptwXPoints * | xs, | 
| ptwXY_createFromFunction_callback | func, | ||
| void * | argList, | ||
| double | accuracy, | ||
| int | checkForRoots, | ||
| int | biSectionMax, | ||
| nfu_status * | status | ||
| ) | 
Definition at line 89 of file ptwXY_misc.cc.
References ptwXPoints_s::length, ptwXPoints_s::points, and ptwXY_createFromFunction().
| 
 | static | 
Definition at line 97 of file ptwXY_misc.cc.
References ptwXYPoints_s::accuracy, ptwXYPoints_s::biSectionMax, ClosestAllowXFactor, DBL_EPSILON, eps, ptwXYPoints_s::interpolation, nfu_Okay, ptwXY_createFromFunctionBisect(), ptwXY_interpolatePoint(), and ptwXY_setValueAtX_overrideIfClose().
Referenced by ptwXY_createFromFunction(), and ptwXY_createFromFunctionBisect().
| 
 | static | 
Definition at line 116 of file ptwXY_misc.cc.
References eps, nfu_badInput, nfu_Okay, and ptwXY_setValueAtX_overrideIfClose().
Referenced by ptwXY_createFromFunction().
| ptwXYPoints * ptwXY_fromString | ( | char const * | str, | 
| ptwXY_interpolation | interpolation, | ||
| ptwXY_interpolationOtherInfo const * | interpolationOtherInfo, | ||
| double | biSectionMax, | ||
| double | accuracy, | ||
| char ** | endCharacter, | ||
| nfu_status * | status | ||
| ) | 
Definition at line 236 of file ptwXY_misc.cc.
References nfu_free(), nfu_oddNumberOfValues, nfu_Okay, nfu_stringToListOfDoubles(), and ptwXY_create().
| void ptwXY_showInteralStructure | ( | ptwXYPoints * | ptwXY, | 
| FILE * | f, | ||
| int | printPointersAsNull | ||
| ) | 
Definition at line 253 of file ptwXY_misc.cc.
References ptwXYPoints_s::accuracy, ptwXYPoints_s::allocatedSize, ptwXY_interpolationOtherInfo::argList, ptwXYPoints_s::biSectionMax, ptwXY_interpolationOtherInfo::getValueFunc, ptwXYOverflowPoint_s::index, ptwXYPoints_s::interpolation, ptwXYPoints_s::interpolationOtherInfo, ptwXY_interpolationOtherInfo::interpolationString, ptwXYPoints_s::length, ptwXYPoints_s::mallocFailedSize, ptwXYPoints_s::minFractional_dx, CLHEP::detail::n, ptwXYOverflowPoint_s::next, ptwXYPoints_s::overflowAllocatedSize, ptwXYPoints_s::overflowHeader, ptwXYPoints_s::overflowLength, ptwXYOverflowPoint_s::point, ptwXYPoints_s::points, ptwXY_getNonOverflowLength(), ptwXY_getPointAtIndex(), ptwXYPoints_s::status, ptwXYPoints_s::userFlag, ptwXYPoint_s::x, and ptwXYPoint_s::y.
| void ptwXY_simplePrint | ( | ptwXYPoints * | ptwXY, | 
| char * | format | ||
| ) | 
Definition at line 298 of file ptwXY_misc.cc.
References ptwXY_simpleWrite().
| void ptwXY_simpleWrite | ( | ptwXYPoints * | ptwXY, | 
| FILE * | f, | ||
| char * | format | ||
| ) | 
Definition at line 285 of file ptwXY_misc.cc.
References ptwXYPoints_s::length, ptwXY_getPointAtIndex(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_simplePrint().
| void ptwXY_update_biSectionMax | ( | ptwXYPoints * | ptwXY1, | 
| double | oldLength | ||
| ) | 
Definition at line 31 of file ptwXY_misc.cc.
References ptwXYPoints_s::biSectionMax, G4Log(), ptwXYPoints_s::length, and ptwXY_maxBiSectionMax.
Referenced by ptwXY_applyFunction(), ptwXY_div_ptwXY(), and ptwXY_mul2_ptwXY().