PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
PACMAN::RbfPum::TransformToNearestCallback< ViewType > Struct Template Reference

A custom ArborX callback which performs a nearest point projection for all the ArborX::Point in the given view. More...

#include <callbacks.hpp>

Public Member Functions

 TransformToNearestCallback (ViewType centers_candidates)
template<typename Predicate, typename Value>
KOKKOS_FUNCTION void operator() (Predicate predicate, Value const &value) const

Public Attributes

ViewType centersCandidates

Detailed Description

template<KokkosViewRank< 1 > ViewType>
struct PACMAN::RbfPum::TransformToNearestCallback< ViewType >

A custom ArborX callback which performs a nearest point projection for all the ArborX::Point in the given view.

Template Parameters
ViewTypeA Kokkos::View of rank 1

Definition at line 103 of file callbacks.hpp.

Constructor & Destructor Documentation

◆ TransformToNearestCallback()

template<KokkosViewRank< 1 > ViewType>
PACMAN::RbfPum::TransformToNearestCallback< ViewType >::TransformToNearestCallback ( ViewType centers_candidates)
inlineexplicit

Definition at line 106 of file callbacks.hpp.

References centersCandidates.

Member Function Documentation

◆ operator()()

template<KokkosViewRank< 1 > ViewType>
template<typename Predicate, typename Value>
KOKKOS_FUNCTION void PACMAN::RbfPum::TransformToNearestCallback< ViewType >::operator() ( Predicate predicate,
Value const & value ) const
inline

Definition at line 110 of file callbacks.hpp.

References centersCandidates.

Member Data Documentation

◆ centersCandidates

template<KokkosViewRank< 1 > ViewType>
ViewType PACMAN::RbfPum::TransformToNearestCallback< ViewType >::centersCandidates

Definition at line 104 of file callbacks.hpp.

Referenced by operator()(), and TransformToNearestCallback().


The documentation for this struct was generated from the following file: