Classes | Enumerations | Functions
PLMD::switchContainers Namespace Reference

Classes

class  baseSwitch
 container for the actual switching function used by PLMD::SwitchingFunction More...
 
class  cosinusSwitch
 
class  cubicSwitch
 
class  exponentialSwitch
 
class  fastGaussianSwitch
 
class  fixedRational
 
class  gaussianSwitch
 
class  leptonSwitch
 
class  nativeqSwitch
 
class  rational
 
class  smapSwitch
 
class  tanhSwitch
 

Enumerations

enum  rationalForm : bool { rationalForm::standard, rationalForm::simplified }
 
enum  rationalPow : bool { rationalPow::standard, rationalPow::fast }
 

Functions

template<int EXP, std::enable_if_t<(EXP %2==0), bool > = true>
std::optional< std::unique_ptr< baseSwitch > > fixedRationalFactory (double D0, double DMAX, double R0, int N)
 
std::unique_ptr< baseSwitchrationalFactory (double D0, double DMAX, double R0, int N, int M)
 

Enumeration Type Documentation

◆ rationalForm

Enumerator
standard 
simplified 

◆ rationalPow

Enumerator
standard 
fast 

Function Documentation

◆ fixedRationalFactory()

template<int EXP, std::enable_if_t<(EXP %2==0), bool > = true>
std::optional<std::unique_ptr<baseSwitch> > PLMD::switchContainers::fixedRationalFactory ( double  D0,
double  DMAX,
double  R0,
int  N 
)

◆ rationalFactory()

std::unique_ptr<baseSwitch> PLMD::switchContainers::rationalFactory ( double  D0,
double  DMAX,
double  R0,
int  N,
int  M 
)