Loading...
Searching...
No Matches
PLMD::switchContainers::fixedRational< N,, > Struct Template Reference
Inheritance diagram for PLMD::switchContainers::fixedRational< N,, >:

Static Public Member Functions

static ValueDerivative calculate (const Data &data, const double distance)
 
static ValueDerivative calculateSqr (const Data &data, double distance2)
 
template<int POW>
static ValueDerivative doRational (const double rdist, double dfunc=0.0, double result=0.0)
 
static ValueDerivative function (const Data &, double rdist)
 

Member Function Documentation

◆ calculate()

static ValueDerivative PLMD::switchContainers::baseSwitch< fixedRational< N > >::calculate ( const Data & data,
const double distance )
inlinestaticinherited

◆ calculateSqr()

template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
static ValueDerivative PLMD::switchContainers::fixedRational< N,, >::calculateSqr ( const Data & data,
double distance2 )
inlinestatic

◆ doRational()

template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
template<int POW>
static ValueDerivative PLMD::switchContainers::fixedRational< N,, >::doRational ( const double rdist,
double dfunc = 0.0,
double result = 0.0 )
inlinestatic

◆ function()

template<int N, std::enable_if_t<(N >0), bool > = true, std::enable_if_t<(N %2==0), bool > = true>
static ValueDerivative PLMD::switchContainers::fixedRational< N,, >::function ( const Data & ,
double rdist )
inlinestatic

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