Loading...
Searching...
No Matches
PLMD::switchContainers Namespace Reference

Namespaces

namespace  switchContainersUtils
 

Classes

struct  baseSwitch
 container for the actual switching function used by PLMD::SwitchingFunction More...
 
struct  cosinusSwitch
 
struct  cubicSwitch
 
struct  Data
 
struct  exponentialSwitch
 
struct  fastgaussianSwitch
 
struct  fixedRational
 
struct  gaussianSwitch
 
class  leptonSwitch
 
struct  nativeqSwitch
 
struct  rational
 
struct  smapSwitch
 
struct  Switch
 
class  SwitchInterface
 
class  SwitchInterface_lepton
 
struct  tanhSwitch
 

Typedefs

using ValueDerivative = std::pair<double,double>
 

Enumerations

enum class  rationalForm : bool { standard , simplified }
 
enum class  rationalPow : bool { standard , fast }
 
enum class  switchType {
  rationalfix12 , rationalfix10 , rationalfix8 , rationalfix6 ,
  rationalfix4 , rationalfix2 , rational , rationalFast ,
  rationalSimple , rationalSimpleFast , exponential , gaussian ,
  fastgaussian , smap , cubic , tanh ,
  cosinus , nativeq , lepton , not_initialized
}
 

Functions

ValueDerivative applystretch (const Data &data, double distance, ValueDerivative in)
 
ValueDerivative calculate (const switchType type, const Data &data, const double rdist)
 
ValueDerivative calculateSqr (const switchType type, const Data &data, const double rdist2)
 
std::string description (switchType type, const Data &data)
 
std::pair< switchType, DatainitRational (double D0, double DMAX, double R0, int N, int M)
 
std::unique_ptr< SwitchrationalFactory (double D0, double DMAX, double R0, int N, int M)
 
void removeStretch (Data &data)
 
void setupStretch (switchType type, Data &data)
 
std::string typeToString (switchType type)
 

Typedef Documentation

◆ ValueDerivative

using PLMD::switchContainers::ValueDerivative = std::pair<double,double>

Enumeration Type Documentation

◆ rationalForm

enum class PLMD::switchContainers::rationalForm : bool
strong
Enumerator
standard 
simplified 

◆ rationalPow

enum class PLMD::switchContainers::rationalPow : bool
strong
Enumerator
standard 
fast 

◆ switchType

Enumerator
rationalfix12 
rationalfix10 
rationalfix8 
rationalfix6 
rationalfix4 
rationalfix2 
rational 
rationalFast 
rationalSimple 
rationalSimpleFast 
exponential 
gaussian 
fastgaussian 
smap 
cubic 
tanh 
cosinus 
nativeq 
lepton 
not_initialized 

Function Documentation

◆ applystretch()

ValueDerivative PLMD::switchContainers::applystretch ( const Data & data,
double distance,
ValueDerivative in )
inline

◆ calculate()

ValueDerivative PLMD::switchContainers::calculate ( const switchType type,
const Data & data,
const double rdist )

◆ calculateSqr()

ValueDerivative PLMD::switchContainers::calculateSqr ( const switchType type,
const Data & data,
const double rdist2 )

◆ description()

std::string PLMD::switchContainers::description ( switchType type,
const Data & data )

◆ initRational()

std::pair< switchType, Data > PLMD::switchContainers::initRational ( double D0,
double DMAX,
double R0,
int N,
int M )

◆ rationalFactory()

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

◆ removeStretch()

void PLMD::switchContainers::removeStretch ( Data & data)

◆ setupStretch()

void PLMD::switchContainers::setupStretch ( switchType type,
Data & data )

◆ typeToString()

std::string PLMD::switchContainers::typeToString ( switchType type)