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

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

#include <BasisFunctions.hpp>

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

Public Member Functions

 CompactPolynomialC4 (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)^6 * ( 35 * (rn)^2 + 18rn + 3), where rn is the radius r normalized over the support radius sr: rn = r/sr.

Definition at line 474 of file BasisFunctions.hpp.

Constructor & Destructor Documentation

◆ CompactPolynomialC4()

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

Definition at line 477 of file BasisFunctions.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ evaluate()

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

Definition at line 494 of file BasisFunctions.hpp.

Here is the call graph for this function:

◆ getFunctionParameters()

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

Definition at line 508 of file BasisFunctions.hpp.

◆ getSupportRadius()

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

Definition at line 489 of file BasisFunctions.hpp.

◆ operator()()

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

Definition at line 499 of file BasisFunctions.hpp.

Member Data Documentation

◆ _params

RadialBasisParameters precice::mapping::CompactPolynomialC4::_params
private

Definition at line 515 of file BasisFunctions.hpp.

◆ _r_inv

double precice::mapping::CompactPolynomialC4::_r_inv
private

Definition at line 514 of file BasisFunctions.hpp.


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