![]() |
Project
|
#include <SplineUtil.h>
Classes | |
class | Switch |
class lets one to switch between constexpr int32_t ValTrueT and int32_t mValFalse, depending on the ConditionT More... | |
class | Switch< false, ValTrueT > |
class | Switch< true, ValTrueT > |
Public Member Functions | |
template<int32_t NdimT> | |
GPUd () static Switch<(NdimT > 0) | |
NdimT | getNdim (int32_t Ndim) |
template<int32_t NdimT> | |
GPUd () static Switch<(NdimT !=0) | |
abs (NdimT)> getMaxNdim(int32_t Ndim) | |
Static Public Member Functions | |
static constexpr int32_t | getSpec (int32_t nXdim, int32_t nYdim) |
static constexpr int32_t | getSpec (int32_t nYdim) |
static constexpr int32_t | abs (int32_t v) |
abs() as a constexpr method, to make the GPU compiler happy | |
================================================================================================== Utilities for the Spline class
Definition at line 28 of file SplineUtil.h.
|
inlinestaticconstexpr |
abs() as a constexpr method, to make the GPU compiler happy
Definition at line 63 of file SplineUtil.h.
|
inline |
Definition at line 87 of file SplineUtil.h.
|
inline |
Definition at line 76 of file SplineUtil.h.
|
inlinestaticconstexpr |
Calculate a Spline specialization number depending on nXdim, nYdim
Definition at line 33 of file SplineUtil.h.
|
inlinestaticconstexpr |
Spline1D & Spline2D specialization number depending on nYdim
Definition at line 57 of file SplineUtil.h.
|
pure virtual |
An expression const auto tmp = getMaxNdim(int32_t Ndim); tmp.get(); returns either a constexpr integer abs(NdimT), or an integer Ndim, depending on the (NdimT!=0) value
o2::gpu::SplineUtil::GPUd | ( | ) |
An expression const auto tmp = getNdim<nDimT>(int32_t Ndim); tmp.get(); returns either a constexpr integer NdimT, or an integer Ndim, depending on the (NdimT>0) value (a temporary variable tmp is needed to make the GPU compiler happy)