18#ifndef SYMFNCBASECOMPANG_H
19#define SYMFNCBASECOMPANG_H
38 virtual void setParameters(std::string
const& parameterString);
69 std::size_t
getE1()
const;
72 std::size_t
getE2()
const;
98#ifndef N2P2_NO_SF_CACHE
A general function with compact support.
void fdf(double a, double &fa, double &dfa) const
Calculate compact function and derivative at once.
Intermediate symmetry function class for angular SFs with compact support.
double angleLeft
Left angle boundary.
std::size_t getE2() const
Get private e2 member variable.
double angleRight
Right angle boundary.
double angleRightRadians
Right angle boundary in radians.
std::size_t e2
Element index of neighbor atom 2.
virtual std::vector< std::string > getCacheIdentifiers() const
Get unique cache identifiers.
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.
CompactFunction ca
Compact function member for angular part.
SymFncBaseCompAng(std::size_t type, ElementMap const &)
Constructor, initializes type.
virtual std::string parameterLine() const
Give symmetry function parameters in one line.
virtual double calculateAngularPart(double angle) const
Calculate (partial) symmetry function value for one given angle.
virtual void setParameters(std::string const ¶meterString)
Set symmetry function parameters.
std::size_t getE1() const
Get private e1 member variable.
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.
virtual double calculateRadialPart(double distance) const
Calculate (partial) symmetry function value for one given distance.
double angleLeftRadians
Left angle boundary in radians.
virtual std::string getSettingsLine() const
Get settings file line from currently set parameters.
void getCompactRadial(double const x, double &fx, double &dfx) const
std::size_t e1
Element index of neighbor atom 1.
double getAngleRight() const
Get private angleRight member variable.
void getCompactAngle(double const x, double &fx, double &dfx) const
double getAngleLeft() const
Get private angleLeft member variable.
Symmetry function base class for SFs with compact support.
CompactFunction cr
Compact function for radial part.
double convLength
Data set normalization length conversion factor.
std::size_t type
Symmetry function type.
std::size_t index
Symmetry function index (per element).