PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
PACMAN::RbfPum::WendlandC0 Class Reference

A functor which computes a RBF function: WendlandC0 Each RBF function must have a host device method fp_t Eval(const fp_t) const which computes an image of the RBF function And a method SetRadiusInv which is a setter for the function support radius. More...

#include <rbf_functions.hpp>

Public Member Functions

KOKKOS_FORCEINLINE_FUNCTION fp_t constexpr Eval (const fp_t &r) const
 
void SetRadiusInv (const fp_t &radiusInv)
 

Detailed Description

A functor which computes a RBF function: WendlandC0 Each RBF function must have a host device method fp_t Eval(const fp_t) const which computes an image of the RBF function And a method SetRadiusInv which is a setter for the function support radius.

Note
In this file, Wendland functions are computed with a no-branching strategy to avoid threads divergence and increase performance on device

Definition at line 22 of file rbf_functions.hpp.

Member Function Documentation

◆ Eval()

KOKKOS_FORCEINLINE_FUNCTION fp_t constexpr PACMAN::RbfPum::WendlandC0::Eval ( const fp_t r) const
inlineconstexpr

Definition at line 25 of file rbf_functions.hpp.

References PACMAN::fp_consts::one(), and PACMAN::fp_consts::zero().

◆ SetRadiusInv()

void PACMAN::RbfPum::WendlandC0::SetRadiusInv ( const fp_t radiusInv)
inline

Definition at line 33 of file rbf_functions.hpp.


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