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

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

#include <BasisFunctions.hpp>

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

Public Member Functions

 CompactPolynomialC8 (double supportRadius)
 
double getSupportRadius () const
 
double evaluate (double radius) const
 
PRECICE_HOST_DEVICE double operator() (const double radius, const RadialBasisParameters params) const
 
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)^10 * (1287*rn^4 + 1350*rn^3 + 630*rn^2 + 150*rn + 15), where rn is the radius r normalized over the support radius sr: rn = r/sr.

Definition at line 581 of file BasisFunctions.hpp.

Constructor & Destructor Documentation

◆ CompactPolynomialC8()

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

Definition at line 584 of file BasisFunctions.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ evaluate()

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

Definition at line 600 of file BasisFunctions.hpp.

Here is the call graph for this function:

◆ getFunctionParameters()

const RadialBasisParameters precice::mapping::CompactPolynomialC8::getFunctionParameters ( )
inline

Definition at line 614 of file BasisFunctions.hpp.

◆ getSupportRadius()

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

Definition at line 595 of file BasisFunctions.hpp.

◆ operator()()

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

Definition at line 605 of file BasisFunctions.hpp.

Member Data Documentation

◆ _params

RadialBasisParameters precice::mapping::CompactPolynomialC8::_params
private

Definition at line 621 of file BasisFunctions.hpp.

◆ _r_inv

double precice::mapping::CompactPolynomialC8::_r_inv
private

Definition at line 620 of file BasisFunctions.hpp.


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