18#ifndef SYMFNCBASECOMPANGWEIGHTED_H
19#define SYMFNCBASECOMPANGWEIGHTED_H
38 virtual void setParameters(std::string
const& parameterString);
92#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 weighted angular compact SFs.
SymFncBaseCompAngWeighted(std::size_t type, ElementMap const &)
Constructor, initializes type.
virtual double calculateAngularPart(double angle) const
Calculate (partial) symmetry function value for one given angle.
CompactFunction ca
Compact function member for angular part.
void getCompactRadial(double const x, double &fx, double &dfx) const
virtual void changeLengthUnit(double convLength)
Change length unit.
double getAngleRight() const
Get private angleRight member variable.
double getAngleLeft() const
Get private angleLeft member variable.
virtual std::string parameterLine() const
Give symmetry function parameters in one line.
double angleLeft
Left angle boundary.
void getCompactAngle(double const x, double &fx, double &dfx) const
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.
double angleLeftRadians
Left angle boundary in radians.
double angleRight
Right angle boundary.
virtual std::string getSettingsLine() const
Get settings file line from currently set parameters.
virtual bool checkRelevantElement(std::size_t index) const
Check whether symmetry function is relevant for given element.
virtual double calculateRadialPart(double distance) const
Calculate (partial) symmetry function value for one given distance.
virtual std::vector< std::string > getCacheIdentifiers() const
Get unique cache identifiers.
virtual void setParameters(std::string const ¶meterString)
Set symmetry function parameters.
double angleRightRadians
Right angle boundary in radians.
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).