|
SSAGES
0.1
A MetaDynamics Package
|
Rational Switching Function. More...
#include <PairwiseKernel.h>

Public Member Functions | |
| RationalSwitchPK (double d0, double r0, int n, int m) | |
| Constructor. More... | |
| double | Evaluate (double rij, double &df) const override |
| Evaluate the switching function. More... | |
Static Public Member Functions | |
| static RationalSwitchPK * | Build (const Json::Value &json, const std::string &path) |
| Build RationalSwitchPK from JSON value. More... | |
Static Public Member Functions inherited from SSAGES::PairwiseKernel | |
| static PairwiseKernel * | Build (const Json::Value &json, const std::string &path) |
| Build PairwiseKernel from JSON value. More... | |
Private Attributes | |
| double | d0_ |
| Minimum linear shift value. | |
| double | r0_ |
| Cutoff distance. | |
| int | n_ |
| int | m_ |
| Exponents of the switching function which control the stiffness. | |
Rational Switching Function.
A switching function of a rational form.
Definition at line 122 of file PairwiseKernel.h.
|
inline |
Constructor.
| d0 | Minimum linear shift value. |
| r0 | Cutoff distance. |
| m | An exponent of the switching function. |
| n | An exponent of the switching function. |
Construct a GaussianPK.
Definition at line 140 of file PairwiseKernel.h.
Referenced by Build().

|
static |
Build RationalSwitchPK from JSON value.
| json | JSON value node. |
Definition at line 74 of file PairwiseKernel.cpp.
References Json::Requirement::GetErrors(), Json::Requirement::HasErrors(), Json::ObjectRequirement::Parse(), RationalSwitchPK(), and Json::ObjectRequirement::Validate().
Referenced by SSAGES::PairwiseKernel::Build().


|
inlineoverridevirtual |
Evaluate the switching function.
| rij | distance between two atoms. |
| df | Reference to variable which will store the gradient. |
Implements SSAGES::PairwiseKernel.
Definition at line 150 of file PairwiseKernel.h.
1.8.7