65 virtual void setParameters(std::string
const& parameterString);
82 virtual void calculate(
Atom& atom,
bool const derivatives)
const;
96 std::size_t
getE1()
const;
102 double getRs()
const;
122#ifndef N2P2_NO_SF_CACHE
Intermediate class for SFs based on cutoff functions.
Radial symmetry function (type 2)
SymFncExpRad(ElementMap const &elementMap)
Constructor, sets type = 2.
virtual bool checkRelevantElement(std::size_t index) const
Check whether symmetry function is relevant for given element.
std::size_t e1
Element index of neighbor atom.
double getEta() const
Get private eta member variable.
virtual void setParameters(std::string const ¶meterString)
Set symmetry function parameters.
virtual void changeLengthUnit(double convLength)
Change length unit.
virtual double calculateRadialPart(double distance) const
Calculate (partial) symmetry function value for one given distance.
virtual bool operator<(SymFnc const &rhs) const
Overload < operator.
double eta
Width of gaussian.
virtual double calculateAngularPart(double angle) const
Calculate (partial) symmetry function value for one given angle.
virtual std::vector< std::string > getCacheIdentifiers() const
Get unique cache identifiers.
virtual std::string parameterLine() const
Give symmetry function parameters in one line.
virtual bool operator==(SymFnc const &rhs) const
Overload == operator.
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.
virtual void calculate(Atom &atom, bool const derivatives) const
Calculate symmetry function for one atom.
std::size_t getE1() const
Get private e1 member variable.
double rs
Shift of gaussian.
double getRs() const
Get private rs member variable.
virtual std::string getSettingsLine() const
Get settings file line from currently set parameters.
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.