17#ifndef SYMFNCEXPANGNWEIGHTED_H
18#define SYMFNCEXPANGNWEIGHTED_H
70 virtual void setParameters(std::string
const& parameterString);
87 virtual void calculate(
Atom& atom,
bool const derivatives)
const;
110 double getRs()
const;
136#ifndef N2P2_NO_SF_CACHE
Intermediate class for SFs based on cutoff functions.
Weighted angular symmetry function (type 13)
virtual double calculateAngularPart(double angle) const
Calculate (partial) symmetry function value for one given angle.
virtual bool checkRelevantElement(std::size_t index) const
Check whether symmetry function is relevant for given element.
int zetaInt
Integer version of .
virtual std::string getSettingsLine() const
Get settings file line from currently set parameters.
double rs
Shift of gaussian.
virtual double calculateRadialPart(double distance) const
Calculate (partial) symmetry function value for one given distance.
double lambda
Cosine shift factor.
virtual std::string parameterLine() const
Give symmetry function parameters in one line.
double getEta() const
Get private eta member variable.
bool getUseIntegerPow() const
Get private useIntegerPow member variable.
double getRs() const
Get private rs member variable.
SymFncExpAngnWeighted(ElementMap const &elementMap)
Constructor, sets type = 13.
double getZeta() const
Get private zeta member variable.
double getLambda() const
Get private lambda member variable.
virtual bool operator==(SymFnc const &rhs) const
Overload == operator.
bool useIntegerPow
Whether to use integer version of power function (faster).
double eta
Width of gaussian.
virtual bool operator<(SymFnc const &rhs) const
Overload < operator.
double zeta
Exponent of cosine term.
virtual void setParameters(std::string const ¶meterString)
Set symmetry function parameters.
virtual void changeLengthUnit(double convLength)
Change length unit.
virtual std::vector< std::string > getCacheIdentifiers() const
Get unique cache identifiers.
virtual void calculate(Atom &atom, bool const derivatives) const
Calculate symmetry function for one atom.
int getZetaInt() const
Get private zetaInt member variable.
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.
Symmetry function base class.
double convLength
Data set normalization length conversion factor.
std::size_t index
Symmetry function index (per element).
ElementMap elementMap
Copy of element map.
Storage for a single atom.