WarpX
Namespaces | Functions
LinearInterpolation.H File Reference
#include <AMReX_Extension.H>
#include <AMReX_GpuQualifiers.H>

Go to the source code of this file.

Namespaces

 utils::algorithms
 

Functions

template<typename T >
AMREX_GPU_DEVICE AMREX_FORCE_INLINEutils::algorithms::linear_interp (T x0, T x1, T f0, T f1, T x)
 Performs a linear interpolation. More...
 
template<typename T >
AMREX_GPU_DEVICE AMREX_FORCE_INLINEutils::algorithms::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. More...
 
template<typename T >
AMREX_GPU_DEVICE AMREX_FORCE_INLINEutils::algorithms::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. More...