|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|


Go to the source code of this file.
Typedefs | |
| using | gsl_spline = AbstractSpline |
| GSL-compatible spline type alias. | |
| using | gsl_interp_accel = AbstractSpline::Accelerator |
| GSL-compatible accelerator type alias. | |
Functions | |
| gsl_spline * | gsl_spline_alloc (const int type, size_t) |
| Allocate a spline instance (size ignored). | |
| gsl_interp_accel * | gsl_interp_accel_alloc () |
| Allocate an interpolation accelerator. | |
| void | gsl_spline_init (gsl_spline *spline, const double *x, const double *y, const size_t n) |
| Initialize a spline with tabulated data. | |
| double | gsl_spline_eval (const gsl_spline *spline, const double x, gsl_interp_accel *accel) |
Evaluate a spline at x using an accelerator. | |
| double | gsl_spline_eval_integ (const gsl_spline *spline, const double xa, const double xb, gsl_interp_accel *accel) |
Evaluate the integral of a spline at x using an accelerator. | |
| void | gsl_spline_free (const gsl_spline *spline) |
| Free a spline instance. | |
| void | gsl_interp_accel_free (const gsl_interp_accel *accel) |
| Free an accelerator instance. | |
| void | gsl_interp_accel_reset (gsl_interp_accel *accel) |
| Reset an accelerator to the initial state. | |
Variables | |
| constexpr int | gsl_interp_linear = 1 |
| GSL linear interpolation type identifiers. | |
| constexpr int | gsl_interp_cspline = 0 |
GSL-compatible accelerator type alias.
Definition at line 32 of file GSLSpline.h.
| using gsl_spline = AbstractSpline |
GSL-compatible spline type alias.
Definition at line 29 of file GSLSpline.h.
|
inline |
Allocate an interpolation accelerator.
Definition at line 50 of file GSLSpline.h.
Referenced by RFCavity::getAutoPhaseEstimate(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().
|
inline |
Free an accelerator instance.
| accel | Input: accelerator to release (can be null). |
Definition at line 87 of file GSLSpline.h.
Referenced by RFCavity::getAutoPhaseEstimate(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().
|
inline |
Reset an accelerator to the initial state.
| accel | Input/Output: accelerator to reset. |
Definition at line 91 of file GSLSpline.h.
References AbstractSpline::Accelerator::reset().
Referenced by TEST_F().

|
inline |
Allocate a spline instance (size ignored).
| type | Input: interpolation type |
| size | Input: number of points (unused). |
Definition at line 38 of file GSLSpline.h.
References gsl_interp_cspline, and gsl_interp_linear.
Referenced by RFCavity::getAutoPhaseEstimate(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().
|
inline |
Evaluate a spline at x using an accelerator.
| spline | Input: spline to evaluate. |
| x | Input: x-coordinate. |
| accel | Input/Output: accelerator cache. |
Definition at line 66 of file GSLSpline.h.
References AbstractSpline::eval().
Referenced by Fieldmap::checkMap(), RFCavity::getAutoPhaseEstimate(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().

|
inline |
Evaluate the integral of a spline at x using an accelerator.
| spline | Input: spline to evaluate. |
| xa | Input: lower bound x-coordinate. |
| xb | Input: upper bound x-coordinate. |
| accel | Input/Output: accelerator cache. |
Definition at line 76 of file GSLSpline.h.
References AbstractSpline::evalIntegral().
Referenced by TEST_F().

|
inline |
Free a spline instance.
| spline | Input: spline to release (can be null). |
Definition at line 83 of file GSLSpline.h.
Referenced by RFCavity::getAutoPhaseEstimate(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().
|
inline |
Initialize a spline with tabulated data.
| spline | Input/Output: spline to initialize. |
| x | Input: strictly increasing x-coordinates. |
| y | Input: y-values corresponding to x. |
| n | Input: number of samples. |
Definition at line 57 of file GSLSpline.h.
References AbstractSpline::init().
Referenced by RFCavity::getAutoPhaseEstimate(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().

|
constexpr |
Definition at line 26 of file GSLSpline.h.
Referenced by RFCavity::getAutoPhaseEstimate(), gsl_spline_alloc(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), and TEST_F().
|
constexpr |
GSL linear interpolation type identifiers.
Definition at line 25 of file GSLSpline.h.
Referenced by gsl_spline_alloc().