18#ifndef SYMFNCCOMPRADWEIGHTED_H
19#define SYMFNCCOMPRADWEIGHTED_H
73 virtual void setParameters(std::string
const& parameterString);
90 virtual void calculate(
Atom& atom,
bool const derivatives)
const;
125#ifndef N2P2_NO_SF_CACHE
void fdf(double a, double &fa, double &dfa) const
Calculate compact function and derivative at once.
Symmetry function base class for SFs with compact support.
CompactFunction cr
Compact function for radial part.
Weighted radial symmetry function with compact support (type 23)
virtual std::string getSettingsLine() const
Get settings file line from currently set parameters.
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.
virtual std::vector< std::string > getCacheIdentifiers() const
Get unique cache identifiers.
virtual void setParameters(std::string const ¶meterString)
Set symmetry function parameters.
virtual void changeLengthUnit(double convLength)
Change length unit.
virtual bool checkRelevantElement(std::size_t index) const
Check whether symmetry function is relevant for given element.
void getCompactOnly(double const x, double &fx, double &dfx) const
SymFncCompRadWeighted(ElementMap const &elementMap)
Constructor, sets type = 23.
virtual bool operator==(SymFnc const &rhs) const
Overload == operator.
virtual std::string parameterLine() const
Give symmetry function parameters in one line.
virtual bool operator<(SymFnc const &rhs) const
Overload < operator.
virtual double calculateRadialPart(double distance) const
Calculate (partial) symmetry function value for one given distance.
virtual double calculateAngularPart(double angle) const
Calculate (partial) symmetry function value for one given angle.
virtual void calculate(Atom &atom, bool const derivatives) const
Calculate symmetry function for one atom.
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.