Geant4
10.02.p02
|
#include <cmath>
#include <float.h>
#include "ptwXY.h"
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 | |
static double | ptwXY_flatInterpolationToLinear_eps (double px, double eps) |
static nfu_status | ptwXY_toOtherInterpolation2 (ptwXYPoints *desc, ptwXYPoints *src, interpolation_func func) |
static nfu_status | ptwXY_LogLogToLinLin (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
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_otherToLinLin (ptwXYPoints *desc, double x1, double y1, double x2, double y2, int depth) |
nfu_status | ptwXY_interpolatePoint (ptwXY_interpolation interpolation, double x, double *y, double x1, double y1, double x2, double y2) |
ptwXYPoints * | ptwXY_flatInterpolationToLinear (ptwXYPoints *ptwXY, double lowerEps, double upperEps, nfu_status *status) |
ptwXYPoints * | ptwXY_toOtherInterpolation (ptwXYPoints *ptwXY, ptwXY_interpolation interpolationTo, double accuracy, nfu_status *status) |
ptwXYPoints * | ptwXY_toUnitbase (ptwXYPoints *ptwXY, nfu_status *status) |
ptwXYPoints * | ptwXY_fromUnitbase (ptwXYPoints *ptwXY, double xMin, double xMax, nfu_status *status) |
ptwXYPoints * | ptwXY_unitbaseInterpolate (double w, double w1, ptwXYPoints *ptwXY1, double w2, ptwXYPoints *ptwXY2, nfu_status *status) |
#define minEps 5e-16 |
Referenced by ptwXY_flatInterpolationToLinear().
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 minEps, n, ptwXY_flatInterpolationToLinear_eps(), ptwXY_free(), ptwXY_new(), ptwXY_setValueAtX(), ptwXY_simpleCoalescePoints(), and x.
|
static |
Definition at line 137 of file ptwXY_interpolation.cc.
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, n, and ptwXY_clone().
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(), and x.
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 G4Exp(), G4Log(), ptwXY_setValueAtX(), and x.
Referenced by ptwXY_toOtherInterpolation().
|
static |
Definition at line 269 of file ptwXY_interpolation.cc.
References G4Log(), ptwXY_setValueAtX(), and x.
Referenced by ptwXY_toOtherInterpolation().
|
static |
Definition at line 225 of file ptwXY_interpolation.cc.
References G4Log(), G4Pow::GetInstance(), G4Pow::powA(), ptwXY_setValueAtX(), w, and x.
Referenced by ptwXY_toOtherInterpolation().
|
static |
Definition at line 288 of file ptwXY_interpolation.cc.
References ptwXY_setValueAtX(), and x.
Referenced by 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 ptwXY_clone(), ptwXY_cloneToInterpolation(), ptwXY_free(), ptwXY_LinLogToLinLin(), ptwXY_LogLinToLinLin(), ptwXY_LogLogToLinLin(), ptwXY_otherToLinLin(), and ptwXY_toOtherInterpolation2().
|
static |
Definition at line 201 of file ptwXY_interpolation.cc.
References ptwXY_simpleCoalescePoints().
Referenced by ptwXY_toOtherInterpolation().
ptwXYPoints* ptwXY_toUnitbase | ( | ptwXYPoints * | ptwXY, |
nfu_status * | status | ||
) |
Definition at line 306 of file ptwXY_interpolation.cc.
References n, and ptwXY_clone().
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 a, g, ptwXY_add_ptwXY(), ptwXY_clone(), ptwXY_free(), ptwXY_fromUnitbase(), and ptwXY_toUnitbase().