7#ifndef CIC_INTERPOLATION_H
8#define CIC_INTERPOLATION_H
21 template <
unsigned long Po
int,
unsigned long Index,
typename Weights>
22 KOKKOS_INLINE_FUNCTION
constexpr typename Weights::value_type interpolationWeight(
23 const Weights& wlo,
const Weights& whi);
33 template <
unsigned long Po
int,
unsigned long Index,
typename Indices>
34 KOKKOS_INLINE_FUNCTION
constexpr typename Indices::value_type interpolationIndex(
50 template <
unsigned long ScatterPoint,
unsigned long... Index,
typename View,
typename T,
51 typename IndexType =
size_t>
52 KOKKOS_INLINE_FUNCTION
constexpr void scatterToPoint(
53 const std::index_sequence<Index...>&,
const View& view,
77 template <
unsigned long... ScatterPoint,
typename View,
typename T,
78 typename IndexType =
size_t>
79 KOKKOS_INLINE_FUNCTION
constexpr void scatterToField(
80 const std::index_sequence<ScatterPoint...>&,
const View& view,
97 template <
unsigned long GatherPoint,
unsigned long... Index,
typename View,
typename T,
98 typename IndexType =
size_t>
99 KOKKOS_INLINE_FUNCTION
constexpr typename View::value_type gatherFromPoint(
100 const std::index_sequence<Index...>&,
const View& view,
116 template <
unsigned long... GatherPoint,
typename View,
typename T,
117 typename IndexType =
size_t>
118 KOKKOS_INLINE_FUNCTION
constexpr typename View::value_type gatherFromField(
119 const std::index_sequence<GatherPoint...>&,
const View& view,
125#include "Interpolation/CIC.hpp"