container for the actual switching function used by PLMD::SwitchingFunction
More...
#include <SwitchingFunction.h>
|
| 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.
|
| |
container for the actual switching function used by PLMD::SwitchingFunction
◆ baseSwitch()
| PLMD::switchContainers::baseSwitch::baseSwitch |
( |
double | D0, |
|
|
double | DMAX, |
|
|
double | R0, |
|
|
std::string_view | name ) |
◆ ~baseSwitch()
| PLMD::switchContainers::baseSwitch::~baseSwitch |
( |
| ) |
|
|
virtualdefault |
◆ calculate()
| double PLMD::switchContainers::baseSwitch::calculate |
( |
double | distance, |
|
|
double & | dfunc ) const |
|
virtual |
◆ calculateSqr()
| double PLMD::switchContainers::baseSwitch::calculateSqr |
( |
double | distance2, |
|
|
double & | dfunc ) const |
|
virtual |
◆ description()
| std::string PLMD::switchContainers::baseSwitch::description |
( |
| ) |
const |
◆ function()
| virtual double PLMD::switchContainers::baseSwitch::function |
( |
double | rdist, |
|
|
double & | dfunc ) const |
|
protectedpure virtual |
Implemented in PLMD::switchContainers::cosinusSwitch, PLMD::switchContainers::cubicSwitch, PLMD::switchContainers::exponentialSwitch, PLMD::switchContainers::fastGaussianSwitch, PLMD::switchContainers::fixedRational< N,, >, PLMD::switchContainers::gaussianSwitch, PLMD::switchContainers::leptonSwitch, PLMD::switchContainers::nativeqSwitch, PLMD::switchContainers::rational< isFast, nis2m >, PLMD::switchContainers::smapSwitch, and PLMD::switchContainers::tanhSwitch.
◆ get_d0()
| double PLMD::switchContainers::baseSwitch::get_d0 |
( |
| ) |
const |
◆ get_dmax()
| double PLMD::switchContainers::baseSwitch::get_dmax |
( |
| ) |
const |
◆ get_dmax2()
| double PLMD::switchContainers::baseSwitch::get_dmax2 |
( |
| ) |
const |
◆ get_r0()
| double PLMD::switchContainers::baseSwitch::get_r0 |
( |
| ) |
const |
◆ removeStretch()
| void PLMD::switchContainers::baseSwitch::removeStretch |
( |
| ) |
|
◆ setupStretch()
| void PLMD::switchContainers::baseSwitch::setupStretch |
( |
| ) |
|
◆ specificDescription()
| std::string PLMD::switchContainers::baseSwitch::specificDescription |
( |
| ) |
const |
|
protectedvirtual |
◆ d0
| double PLMD::switchContainers::baseSwitch::d0 =0.0 |
|
protected |
Minimum distance (before this, function is one)
◆ dmax
| double PLMD::switchContainers::baseSwitch::dmax =0.0 |
|
protected |
Maximum distance (after this, function is zero)
◆ dmax_2
| double PLMD::switchContainers::baseSwitch::dmax_2 =0.0 |
|
protected |
◆ invr0
| double PLMD::switchContainers::baseSwitch::invr0 =0.0 |
|
protected |
We store the inverse to avoid a division.
◆ invr0_2
| double PLMD::switchContainers::baseSwitch::invr0_2 =0.0 |
|
protected |
◆ mytype
| std::string PLMD::switchContainers::baseSwitch::mytype |
|
protected |
◆ shift
| double PLMD::switchContainers::baseSwitch::shift =0.0 |
|
protected |
◆ stretch
| double PLMD::switchContainers::baseSwitch::stretch =1.0 |
|
protected |
Parameters for stretching the function to zero at d_max.
The documentation for this class was generated from the following files: