|
SSAGES
0.9.3
Software Suite for Advanced General Ensemble Simulations
|
Gaussian Function. More...
#include <PairwiseKernel.h>

Public Member Functions | |
| GaussianPK (double mu, double sigma) | |
| Constructor. More... | |
| double | Evaluate (double rij, double &df) const |
| Evaluate the pairwise kernel function. More... | |
Public Member Functions inherited from SSAGES::PairwiseKernel | |
| virtual | ~PairwiseKernel () |
| Destructor. | |
Static Public Member Functions | |
| static GaussianPK * | Build (const Json::Value &json, const std::string &path) |
| Build GaussianPK 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 | mu_ |
| Center of Gaussian. | |
| double | sigma_ |
| Width of Gaussian. | |
Gaussian Function.
A standard Gaussian function (also called a "bell curve").
Definition at line 76 of file PairwiseKernel.h.
|
inline |
Constructor.
| mu | Center of Gaussian. |
| sigma | Width of Gaussian. |
Construct a GaussianPK.
Definition at line 91 of file PairwiseKernel.h.
Referenced by Build().

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


|
inlinevirtual |
Evaluate the pairwise kernel function.
| rij | distance between two atoms. |
| df | Reference to variable which will store the gradient. |
Implements SSAGES::PairwiseKernel.
Definition at line 94 of file PairwiseKernel.h.