Radial basis function with global and compact support.
More...
#include <BasisFunctions.hpp>
|
static constexpr double | cutoffThreshold = 1e-9 |
| Below that value the function is supposed to be zero. Defines the support radius if not explicitly given.
|
Radial basis function with global and compact support.
To be used as template parameter for RadialBasisFctMapping. Takes a shape parameter (shape > 0.0) on construction.
Evaluates to: exp(-1 * (shape * radius)^2).
Definition at line 237 of file BasisFunctions.hpp.
◆ Gaussian()
precice::mapping::Gaussian::Gaussian |
( |
const double | shape, |
|
|
const double | supportRadius = std::numeric_limits<double>::infinity() ) |
|
inline |
◆ evaluate()
double precice::mapping::Gaussian::evaluate |
( |
const double | radius | ) |
const |
|
inline |
◆ getFunctionParameters()
◆ getSupportRadius()
double precice::mapping::Gaussian::getSupportRadius |
( |
| ) |
const |
|
inline |
◆ operator()()
◆ _deltaY
double precice::mapping::Gaussian::_deltaY = 0 |
|
private |
◆ _params
◆ _shape
double const precice::mapping::Gaussian::_shape |
|
private |
◆ _supportRadius
double precice::mapping::Gaussian::_supportRadius |
|
private |
Either explicitly set (from cutoffThreshold) or computed supportRadius.
Definition at line 298 of file BasisFunctions.hpp.
◆ cutoffThreshold
double precice::mapping::Gaussian::cutoffThreshold = 1e-9 |
|
staticconstexpr |
Below that value the function is supposed to be zero. Defines the support radius if not explicitly given.
Definition at line 292 of file BasisFunctions.hpp.
The documentation for this class was generated from the following file: