8 #ifndef WARPX_UTILS_ALGORITHMS_LINEAR_INTERPOLATION_H_ 9 #define WARPX_UTILS_ALGORITHMS_LINEAR_INTERPOLATION_H_ 24 return ((x1-x)*f0 + (x-x0)*f1)/(x1-
x0);
48 T f000, T f001, T f010, T f011, T f100, T f101, T f110, T f111,
52 x0, x1, y0, y1, f000, f010, f100, f110, x, y);
54 x0, x1, y0, y1, f001, f011, f101, f111, x, y);
59 #endif //WARPX_UTILS_ALGORITHMS_LINEAR_INTERPOLATION_H_ list y1
Definition: plot_particle_path.py:131
def x
Definition: read_lab_particles.py:26
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T trilinear_interp(T x0, T x1, T y0, T y1, T z0, T z1, T f000, T f001, T f010, T f011, T f100, T f101, T f110, T f111, T x, T y, T z)
Performs a trilinear interpolation.
Definition: LinearInterpolation.H:47
def z
Definition: read_lab_particles.py:27
#define AMREX_FORCE_INLINE
list y0
Definition: plot_particle_path.py:129
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T bilinear_interp(T x0, T x1, T y0, T y1, T f00, T f01, T f10, T f11, T x, T y)
Performs a bilinear interpolation.
Definition: LinearInterpolation.H:33
list x0
Definition: plot_particle_path.py:128
list x1
Definition: plot_particle_path.py:130
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T linear_interp(T x0, T x1, T f0, T f1, T x)
Performs a linear interpolation.
Definition: LinearInterpolation.H:22