Geant4-11
|
Go to the source code of this file.
Macros | |
#define | minEps 5e-16 |
Typedefs | |
typedef nfu_status(* | interpolation_func) (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
Functions | |
ptwXYPoints * | ptwXY_flatInterpolationToLinear (ptwXYPoints *ptwXY, double lowerEps, double upperEps, nfu_status *status) |
static double | ptwXY_flatInterpolationToLinear_eps (double px, double eps) |
ptwXYPoints * | ptwXY_fromUnitbase (ptwXYPoints *ptwXY, double xMin, double xMax, nfu_status *status) |
nfu_status | ptwXY_interpolatePoint (ptwXY_interpolation interpolation, double x, double *y, double x1, double y1, double x2, double y2) |
static nfu_status | ptwXY_LinLogToLinLin (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
static nfu_status | ptwXY_LogLinToLinLin (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
static nfu_status | ptwXY_LogLogToLinLin (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
static nfu_status | ptwXY_otherToLinLin (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
ptwXYPoints * | ptwXY_toOtherInterpolation (ptwXYPoints *ptwXY, ptwXY_interpolation interpolationTo, double accuracy, nfu_status *status) |
static nfu_status | ptwXY_toOtherInterpolation2 (ptwXYPoints *desc, ptwXYPoints *src, interpolation_func func) |
ptwXYPoints * | ptwXY_toUnitbase (ptwXYPoints *ptwXY, nfu_status *status) |
ptwXYPoints * | ptwXY_unitbaseInterpolate (double w, double w1, ptwXYPoints *ptwXY1, double w2, ptwXYPoints *ptwXY2, nfu_status *status) |
#define minEps 5e-16 |
typedef nfu_status(* interpolation_func) (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
Definition at line 19 of file ptwXY_interpolation.cc.
ptwXYPoints * ptwXY_flatInterpolationToLinear | ( | ptwXYPoints * | ptwXY, |
double | lowerEps, | ||
double | upperEps, | ||
nfu_status * | status | ||
) |
Definition at line 74 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::accuracy, ptwXYPoints_s::biSectionMax, ptwXYPoints_s::interpolation, ptwXYPoints_s::length, minEps, CLHEP::detail::n, nfu_badInput, nfu_invalidInterpolation, nfu_Okay, ptwXYPoints_s::overflowLength, ptwXYPoints_s::points, ptwXY_flatInterpolationToLinear_eps(), ptwXY_free(), ptwXY_interpolationFlat, ptwXY_interpolationLinLin, ptwXY_new(), ptwXY_setValueAtX(), ptwXY_simpleCoalescePoints(), ptwXYPoints_s::userFlag, ptwXYPoint_s::x, and ptwXYPoint_s::y.
|
static |
Definition at line 137 of file ptwXY_interpolation.cc.
References eps.
Referenced by ptwXY_flatInterpolationToLinear().
ptwXYPoints * ptwXY_fromUnitbase | ( | ptwXYPoints * | ptwXY, |
double | xMin, | ||
double | xMax, | ||
nfu_status * | status | ||
) |
Definition at line 331 of file ptwXY_interpolation.cc.
References DBL_EPSILON, ptwXYPoints_s::length, CLHEP::detail::n, nfu_tooFewPoints, ptwXY_clone(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_unitbaseInterpolate().
nfu_status ptwXY_interpolatePoint | ( | ptwXY_interpolation | interpolation, |
double | x, | ||
double * | y, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
Definition at line 30 of file ptwXY_interpolation.cc.
References G4Exp(), G4Log(), nfu_invalidInterpolation, nfu_Okay, nfu_otherInterpolation, ptwXY_interpolationFlat, ptwXY_interpolationLinLin, ptwXY_interpolationLinLog, ptwXY_interpolationLogLin, ptwXY_interpolationLogLog, and ptwXY_interpolationOther.
Referenced by ptwXY_applyFunction2(), ptwXY_applyFunctionZeroCrossing(), ptwXY_convolution2(), ptwXY_createFromFunctionBisect(), ptwXY_dullEdges(), ptwXY_getValueAtX(), ptwXY_integrate(), ptwXY_integrateWithFunction3(), ptwXY_integrateWithWeight_sqrt_x(), ptwXY_integrateWithWeight_x(), ptwXY_thicken(), ptwXY_thin2(), and ptwXY_union().
|
static |
Definition at line 252 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::accuracy, G4Exp(), G4Log(), nfu_Okay, ptwXY_LinLogToLinLin(), and ptwXY_setValueAtX().
Referenced by ptwXY_LinLogToLinLin(), and ptwXY_toOtherInterpolation().
|
static |
Definition at line 269 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::accuracy, G4Log(), nfu_Okay, ptwXY_LogLinToLinLin(), and ptwXY_setValueAtX().
Referenced by ptwXY_LogLinToLinLin(), and ptwXY_toOtherInterpolation().
|
static |
Definition at line 225 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::accuracy, G4Log(), G4Pow::GetInstance(), nfu_Okay, G4Pow::powA(), ptwXY_LogLogToLinLin(), and ptwXY_setValueAtX().
Referenced by ptwXY_LogLogToLinLin(), and ptwXY_toOtherInterpolation().
|
static |
Definition at line 288 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::accuracy, ptwXY_interpolationOtherInfo::argList, ptwXY_interpolationOtherInfo::getValueFunc, ptwXYPoints_s::interpolationOtherInfo, nfu_Okay, ptwXY_otherToLinLin(), and ptwXY_setValueAtX().
Referenced by ptwXY_otherToLinLin(), and ptwXY_toOtherInterpolation().
ptwXYPoints * ptwXY_toOtherInterpolation | ( | ptwXYPoints * | ptwXY, |
ptwXY_interpolation | interpolationTo, | ||
double | accuracy, | ||
nfu_status * | status | ||
) |
Definition at line 153 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::accuracy, ptwXY_interpolationOtherInfo::argList, ptwXY_interpolationOtherInfo::getValueFunc, ptwXYPoints_s::interpolation, ptwXYPoints_s::interpolationOtherInfo, nfu_Okay, nfu_unsupportedInterpolationConversion, ptwXY_clone(), ptwXY_cloneToInterpolation(), ptwXY_free(), ptwXY_interpolationFlat, ptwXY_interpolationLinLin, ptwXY_interpolationLinLog, ptwXY_interpolationLogLin, ptwXY_interpolationLogLog, ptwXY_interpolationOther, ptwXY_LinLogToLinLin(), ptwXY_LogLinToLinLin(), ptwXY_LogLogToLinLin(), ptwXY_otherToLinLin(), ptwXY_toOtherInterpolation2(), and ptwXYPoints_s::status.
|
static |
Definition at line 201 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::length, nfu_Okay, ptwXYPoints_s::points, ptwXY_simpleCoalescePoints(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_toOtherInterpolation().
ptwXYPoints * ptwXY_toUnitbase | ( | ptwXYPoints * | ptwXY, |
nfu_status * | status | ||
) |
Definition at line 306 of file ptwXY_interpolation.cc.
References ptwXYPoints_s::length, CLHEP::detail::n, nfu_tooFewPoints, ptwXY_clone(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_unitbaseInterpolate().
ptwXYPoints * ptwXY_unitbaseInterpolate | ( | double | w, |
double | w1, | ||
ptwXYPoints * | ptwXY1, | ||
double | w2, | ||
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status | ||
) |
Definition at line 363 of file ptwXY_interpolation.cc.
References g, ptwXYPoints_s::length, nfu_XOutsideDomain, ptwXYPoints_s::points, ptwXY_add_ptwXY(), ptwXY_clone(), ptwXY_free(), ptwXY_fromUnitbase(), ptwXY_toUnitbase(), ptwXYPoint_s::x, and ptwXYPoint_s::y.