|
| template<int POW> |
| static double | doRational (const double rdist, double &dfunc, double result=0.0) |
| |
|
| double | d0 =0.0 |
| | Minimum distance (before this, function is one)
|
| |
| double | dmax =0.0 |
| | Maximum distance (after this, function is zero)
|
| |
| double | dmax_2 =0.0 |
| | Square of dmax, useful in calculateSqr()
|
| |
| double | invr0 =0.0 |
| | We store the inverse to avoid a division.
|
| |
| double | invr0_2 =0.0 |
| | Square of invr0, useful in calculateSqr()
|
| |
| std::string | mytype |
| |
| double | shift =0.0 |
| |
| double | stretch =1.0 |
| | Parameters for stretching the function to zero at d_max.
|
| |
◆ fixedRational()
template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
◆ calculate()
| double PLMD::switchContainers::baseSwitch::calculate |
( |
double | distance, |
|
|
double & | dfunc ) const |
|
virtualinherited |
◆ calculateSqr()
template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
◆ description()
| std::string PLMD::switchContainers::baseSwitch::description |
( |
| ) |
const |
|
inherited |
◆ doRational()
template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
template<int POW>
◆ function()
template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
◆ get_d0()
| double PLMD::switchContainers::baseSwitch::get_d0 |
( |
| ) |
const |
|
inherited |
◆ get_dmax()
| double PLMD::switchContainers::baseSwitch::get_dmax |
( |
| ) |
const |
|
inherited |
◆ get_dmax2()
| double PLMD::switchContainers::baseSwitch::get_dmax2 |
( |
| ) |
const |
|
inherited |
◆ get_r0()
| double PLMD::switchContainers::baseSwitch::get_r0 |
( |
| ) |
const |
|
inherited |
◆ removeStretch()
| void PLMD::switchContainers::baseSwitch::removeStretch |
( |
| ) |
|
|
inherited |
◆ setupStretch()
| void PLMD::switchContainers::baseSwitch::setupStretch |
( |
| ) |
|
|
inherited |
◆ specificDescription()
template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
|
|
inlineoverrideprivatevirtual |
◆ d0
| double PLMD::switchContainers::baseSwitch::d0 =0.0 |
|
protectedinherited |
Minimum distance (before this, function is one)
◆ dmax
| double PLMD::switchContainers::baseSwitch::dmax =0.0 |
|
protectedinherited |
Maximum distance (after this, function is zero)
◆ dmax_2
| double PLMD::switchContainers::baseSwitch::dmax_2 =0.0 |
|
protectedinherited |
◆ invr0
| double PLMD::switchContainers::baseSwitch::invr0 =0.0 |
|
protectedinherited |
We store the inverse to avoid a division.
◆ invr0_2
| double PLMD::switchContainers::baseSwitch::invr0_2 =0.0 |
|
protectedinherited |
◆ mytype
| std::string PLMD::switchContainers::baseSwitch::mytype |
|
protectedinherited |
◆ shift
| double PLMD::switchContainers::baseSwitch::shift =0.0 |
|
protectedinherited |
◆ stretch
| double PLMD::switchContainers::baseSwitch::stretch =1.0 |
|
protectedinherited |
Parameters for stretching the function to zero at d_max.
The documentation for this class was generated from the following file: