PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
PACMAN::FiniteElements::NearestPointProjection< MemorySpace > Struct Template Reference

Callback assigning source value at nearest-neighbor index. More...

#include <ArborXCallbacks.hpp>

Public Member Functions

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

Public Attributes

Kokkos::View< fp_t **, MemorySpace > sourceValues
Kokkos::View< fp_t **, MemorySpace > targetValues
Kokkos::View< TransferStatus *, MemorySpace > targetStatus

Detailed Description

template<typename MemorySpace>
struct PACMAN::FiniteElements::NearestPointProjection< MemorySpace >

Callback assigning source value at nearest-neighbor index.

Template Parameters
MemorySpaceKokkos memory space.

Definition at line 175 of file ArborXCallbacks.hpp.

Member Function Documentation

◆ operator()()

template<typename MemorySpace>
template<typename Predicate, typename Value>
KOKKOS_FUNCTION void PACMAN::FiniteElements::NearestPointProjection< MemorySpace >::operator() ( const Predicate & predicate,
const Value & value ) const
inline

Definition at line 181 of file ArborXCallbacks.hpp.

References PACMAN::NEAREST, sourceValues, targetStatus, and targetValues.

Member Data Documentation

◆ sourceValues

template<typename MemorySpace>
Kokkos::View<fp_t **, MemorySpace> PACMAN::FiniteElements::NearestPointProjection< MemorySpace >::sourceValues

Definition at line 176 of file ArborXCallbacks.hpp.

Referenced by operator()().

◆ targetStatus

template<typename MemorySpace>
Kokkos::View<TransferStatus *, MemorySpace> PACMAN::FiniteElements::NearestPointProjection< MemorySpace >::targetStatus

Definition at line 178 of file ArborXCallbacks.hpp.

Referenced by operator()().

◆ targetValues

template<typename MemorySpace>
Kokkos::View<fp_t **, MemorySpace> PACMAN::FiniteElements::NearestPointProjection< MemorySpace >::targetValues

Definition at line 177 of file ArborXCallbacks.hpp.

Referenced by operator()().


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