preCICE v3.1.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
precice::mapping::CompactPolynomialC0 Class Reference

Wendland radial basis function with compact support. More...

#include <BasisFunctions.hpp>

Inheritance diagram for precice::mapping::CompactPolynomialC0:
[legend]
Collaboration diagram for precice::mapping::CompactPolynomialC0:
[legend]

Public Member Functions

 CompactPolynomialC0 (double supportRadius)
 
double getSupportRadius () const
 
double evaluate (double radius) const
 
PRECICE_HOST_DEVICE double operator() (const double radius, const RadialBasisParameters params) const
 
RadialBasisParameters getFunctionParameters ()
 

Private Attributes

double _r_inv
 
RadialBasisParameters _params
 

Additional Inherited Members

- Static Public Member Functions inherited from precice::mapping::CompactSupportBase
static constexpr bool hasCompactSupport ()
 
- Static Public Member Functions inherited from precice::mapping::DefiniteFunction< true >
static constexpr bool isStrictlyPositiveDefinite ()
 

Detailed Description

Wendland radial basis function with compact support.

To be used as template parameter for RadialBasisFctMapping. Takes the support radius (> 0.0) on construction.

Evaluates to: (1 - rn)^2, where rn is the radius r normalized over the support radius sr: rn = r/sr.

Definition at line 367 of file BasisFunctions.hpp.

Constructor & Destructor Documentation

◆ CompactPolynomialC0()

precice::mapping::CompactPolynomialC0::CompactPolynomialC0 ( double supportRadius)
inlineexplicit

Definition at line 370 of file BasisFunctions.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ evaluate()

double precice::mapping::CompactPolynomialC0::evaluate ( double radius) const
inline

Definition at line 386 of file BasisFunctions.hpp.

Here is the call graph for this function:

◆ getFunctionParameters()

RadialBasisParameters precice::mapping::CompactPolynomialC0::getFunctionParameters ( )
inline

Definition at line 400 of file BasisFunctions.hpp.

◆ getSupportRadius()

double precice::mapping::CompactPolynomialC0::getSupportRadius ( ) const
inline

Definition at line 381 of file BasisFunctions.hpp.

◆ operator()()

PRECICE_HOST_DEVICE double precice::mapping::CompactPolynomialC0::operator() ( const double radius,
const RadialBasisParameters params ) const
inline

Definition at line 391 of file BasisFunctions.hpp.

Member Data Documentation

◆ _params

RadialBasisParameters precice::mapping::CompactPolynomialC0::_params
private

Definition at line 407 of file BasisFunctions.hpp.

◆ _r_inv

double precice::mapping::CompactPolynomialC0::_r_inv
private

Definition at line 406 of file BasisFunctions.hpp.


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