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

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

#include <BasisFunctions.hpp>

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

Public Member Functions

 CompactPolynomialC2 (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)^4 * ( 4rn + 1), where rn is the radius r normalized over the support radius sr: rn = r/sr.

Definition at line 420 of file BasisFunctions.hpp.

Constructor & Destructor Documentation

◆ CompactPolynomialC2()

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

Definition at line 423 of file BasisFunctions.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ evaluate()

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

Definition at line 440 of file BasisFunctions.hpp.

Here is the call graph for this function:

◆ getFunctionParameters()

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

Definition at line 454 of file BasisFunctions.hpp.

◆ getSupportRadius()

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

Definition at line 435 of file BasisFunctions.hpp.

◆ operator()()

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

Definition at line 445 of file BasisFunctions.hpp.

Member Data Documentation

◆ _params

RadialBasisParameters precice::mapping::CompactPolynomialC2::_params
private

Definition at line 461 of file BasisFunctions.hpp.

◆ _r_inv

double precice::mapping::CompactPolynomialC2::_r_inv
private

Definition at line 460 of file BasisFunctions.hpp.


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