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

A custon ArborX callback which tags empty regions centers, by setting the x axis value of the center to NAN. More...

#include <callbacks.hpp>

Public Member Functions

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

Public Attributes

ViewType centersCandidates
fp_t threshold

Detailed Description

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

A custon ArborX callback which tags empty regions centers, by setting the x axis value of the center to NAN.

Template Parameters
ViewTypeA Kokkos::View of rank 1

Definition at line 69 of file callbacks.hpp.

Constructor & Destructor Documentation

◆ TagEmptyCentersCallback()

template<KokkosViewRank< 1 > ViewType>
PACMAN::RbfPum::TagEmptyCentersCallback< ViewType >::TagEmptyCentersCallback ( ViewType centers_candidates,
fp_t threshold_ )
inline

Definition at line 73 of file callbacks.hpp.

References centersCandidates, and threshold.

Member Function Documentation

◆ operator()()

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

Definition at line 77 of file callbacks.hpp.

References centersCandidates, PACMAN::RbfPum::SquaredDifference(), and threshold.

Member Data Documentation

◆ centersCandidates

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

Definition at line 70 of file callbacks.hpp.

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

◆ threshold

template<KokkosViewRank< 1 > ViewType>
fp_t PACMAN::RbfPum::TagEmptyCentersCallback< ViewType >::threshold

Definition at line 71 of file callbacks.hpp.

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


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