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

A functor which computes a RBF function: WendlandC6 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 Eval (const fp_t &r) const
 
void SetRadiusInv (const fp_t &radiusInv)
 

Detailed Description

A functor which computes a RBF function: WendlandC6 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 100 of file rbf_functions.hpp.

Member Function Documentation

◆ Eval()

KOKKOS_FORCEINLINE_FUNCTION fp_t PACMAN::RbfPum::WendlandC6::Eval ( const fp_t r) const
inline

Definition at line 103 of file rbf_functions.hpp.

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

◆ SetRadiusInv()

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

Definition at line 114 of file rbf_functions.hpp.


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