/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/linear_interpolation.H File Reference

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/linear_interpolation.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
linear_interpolation.H File Reference
#include "AMReX_Gpu.H"
#include <AMReX_Extension.H>
Include dependency graph for linear_interpolation.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  amr_wind::interp::Index
 

Namespaces

namespace  amr_wind
 
namespace  amr_wind::interp
 

Enumerations

enum class  amr_wind::interp::Limits : int { amr_wind::interp::LOWLIM = -2 , amr_wind::interp::UPLIM = -1 , amr_wind::interp::VALID = 0 }
 

Functions

template<typename It , typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Index amr_wind::interp::check_bounds (const It begin, const It end, const T &x)
 
template<typename It , typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Index amr_wind::interp::bisection_search (const It begin, const It end, const T &x)
 
template<typename It , typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Index amr_wind::interp::nearest_search (const It begin, const It end, const T &x)
 
template<typename It , typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Index amr_wind::interp::find_index (const It begin, const It end, const T &x, const int hint=1)
 
template<typename C1 , typename C2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type amr_wind::interp::linear_impl (const C1 xbegin, const C2 yinp, const typename std::iterator_traits< C1 >::value_type &xout, const Index &idx, const int ncomp=1, const int comp=0)
 
template<typename C1 , typename C2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type amr_wind::interp::linear (const C1 xbegin, const C1 xend, const C2 yinp, const typename std::iterator_traits< C1 >::value_type &xout, const int ncomp=1, const int comp=0)
 
template<typename C1 , typename C2 >
C2::value_type amr_wind::interp::linear (const C1 &xinp, const C2 &yinp, const typename C1::value_type &xout, const int ncomp=1, const int comp=0)
 
template<typename C1 , typename C2 >
void amr_wind::interp::linear_monotonic (const C1 &xinp, const C2 &yinp, const C1 &xout, C2 &yout, const int ncomp=1, const int comp=0)
 
template<typename C1 , typename C2 >
void amr_wind::interp::linear (const C1 &xinp, const C2 &yinp, const C1 &xout, C2 &yout, const int ncomp=1, const int comp=0)
 
template<typename C1 , typename C2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type amr_wind::interp::linear_angle (const C1 xbegin, const C1 xend, const C2 yinp, const typename std::iterator_traits< C1 >::value_type &xout, const typename std::iterator_traits< C1 >::value_type &upper_bound)
 
template<typename C1 , typename C2 >
C2::value_type amr_wind::interp::linear_angle (const C1 &xinp, const C2 &yinp, const typename C1::value_type &xout, const typename C1::value_type &upper_bound)
 
template<typename C1 , typename C2 >
void amr_wind::interp::linear_angle (const C1 &xinp, const C2 &yinp, const C1 &xout, C2 &yout, const typename C1::value_type &upper_bound)
 
template<typename C1 , typename C2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type amr_wind::interp::bilinear_impl (const C1 xbegin, const C1 ybegin, const int ny, const C2 zinp, const typename std::iterator_traits< C1 >::value_type &xout, const typename std::iterator_traits< C1 >::value_type &yout, const Index &xidx, const Index &yidx)
 
template<typename C1 , typename C2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type amr_wind::interp::bilinear (const C1 xbegin, const C1 xend, const C1 ybegin, const C1 yend, const C2 zinp, const typename std::iterator_traits< C1 >::value_type &xout, const typename std::iterator_traits< C1 >::value_type &yout)
 
template<typename C1 , typename C2 >
C2::value_type amr_wind::interp::bilinear (const C1 &xinp, const C1 &yinp, const C2 &zinp, const typename C1::value_type &xout, const typename C1::value_type &yout)