OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
FEMInterpolate.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ippl
 Implementations for FFT constructor/destructor and transforms.
 

Functions

template<typename T , unsigned Dim>
KOKKOS_INLINE_FUNCTION void ippl::locate_element_nd_and_xi (const Vector< T, Dim > &hr, const Vector< T, Dim > &origin, const Vector< T, Dim > &x, Vector< size_t, Dim > &e_nd, Vector< T, Dim > &xi)
 Mapping from global position to element ND index and reference coordinates (xi ∈ [0,1)^Dim) on a UniformCartesian mesh. More...
 
template<class View , class IVec , std::size_t... Is>
KOKKOS_INLINE_FUNCTION auto ippl::view_ptr_impl (View &v, const IVec &I, std::index_sequence< Is... >) -> decltype(&v(I[Is]...))
 
template<int D, class View , class IVec >
KOKKOS_INLINE_FUNCTION auto ippl::view_ptr (View &v, const IVec &I) -> decltype(view_ptr_impl(v, I, std::make_index_sequence< D >{}))
 
template<typename AttribIn , typename Field , typename PosAttrib , typename Space , typename policy_type = Kokkos::RangePolicy<typename Field::execution_space>>
void ippl::assemble_rhs_from_particles (const AttribIn &attrib, Field &f, const PosAttrib &pp, const Space &space, policy_type iteration_policy)
 Assemble a P1 FEM load vector (RHS) from particle attributes. More...
 
template<class View , class IVec , std::size_t... Is>
KOKKOS_INLINE_FUNCTION decltype(auto) ippl::view_ref_impl (View &v, const IVec &I, std::index_sequence< Is... >)
 
template<int D, class View , class IVec >
KOKKOS_INLINE_FUNCTION decltype(auto) ippl::view_ref (View &v, const IVec &I)
 
template<typename AttribOut , typename Field , typename PosAttrib , typename Space , typename policy_type = Kokkos::RangePolicy<typename Field::execution_space>>
void ippl::interpolate_to_diracs (AttribOut &attrib_out, const Field &coeffs, const PosAttrib &pp, const Space &space, policy_type iteration_policy)
 Interpolate a P1 FEM field to particle positions. More...