OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::SwitchingFunction Class Reference

#include <SwitchingFunction.hpp>

Public Member Functions

 SwitchingFunction ()
 
void setSwitchType (SwitchingFunctionType sft)
 
void setSwitch (RealType rinner, RealType router)
 
bool getSwitch (const RealType &r2, RealType &sw, RealType &dswdr, RealType &r)
 

Private Attributes

RealType rin_
 
RealType rout_
 
RealType rin2_
 
RealType rout2_
 
SwitchingFunctionType functionType_
 
bool haveSpline_
 
bool isCubic_
 
int np_
 
CubicSplineswitchSpline_
 

Detailed Description

Definition at line 56 of file SwitchingFunction.hpp.

Constructor & Destructor Documentation

◆ SwitchingFunction()

OpenMD::SwitchingFunction::SwitchingFunction ( )

Definition at line 53 of file SwitchingFunction.cpp.

References switchSpline_.

Member Function Documentation

◆ getSwitch()

bool OpenMD::SwitchingFunction::getSwitch ( const RealType &  r2,
RealType &  sw,
RealType &  dswdr,
RealType &  r 
)

◆ setSwitch()

◆ setSwitchType()

Member Data Documentation

◆ functionType_

SwitchingFunctionType OpenMD::SwitchingFunction::functionType_
private

Definition at line 69 of file SwitchingFunction.hpp.

Referenced by setSwitch().

◆ haveSpline_

bool OpenMD::SwitchingFunction::haveSpline_
private

Definition at line 70 of file SwitchingFunction.hpp.

Referenced by setSwitch(), and setSwitchType().

◆ isCubic_

bool OpenMD::SwitchingFunction::isCubic_
private

Definition at line 71 of file SwitchingFunction.hpp.

Referenced by setSwitch().

◆ np_

int OpenMD::SwitchingFunction::np_
private

Definition at line 72 of file SwitchingFunction.hpp.

Referenced by setSwitch().

◆ rin2_

RealType OpenMD::SwitchingFunction::rin2_
private

Definition at line 67 of file SwitchingFunction.hpp.

Referenced by getSwitch(), and setSwitch().

◆ rin_

RealType OpenMD::SwitchingFunction::rin_
private

Definition at line 65 of file SwitchingFunction.hpp.

Referenced by setSwitch(), and setSwitchType().

◆ rout2_

RealType OpenMD::SwitchingFunction::rout2_
private

Definition at line 68 of file SwitchingFunction.hpp.

Referenced by getSwitch(), and setSwitch().

◆ rout_

RealType OpenMD::SwitchingFunction::rout_
private

Definition at line 66 of file SwitchingFunction.hpp.

Referenced by setSwitch(), and setSwitchType().

◆ switchSpline_

CubicSpline* OpenMD::SwitchingFunction::switchSpline_
private

Definition at line 73 of file SwitchingFunction.hpp.

Referenced by getSwitch(), setSwitch(), setSwitchType(), and SwitchingFunction().


The documentation for this class was generated from the following files: