n2p2 - A neural network potential package
|
Symmetry function base class. More...
#include <SymFnc.h>
Public Types | |
enum | ScalingType { ST_NONE , ST_SCALE , ST_CENTER , ST_SCALECENTER , ST_SCALESIGMA } |
List of available scaling types. More... | |
Public Member Functions | |
virtual | ~SymFnc () |
Virtual destructor. More... | |
virtual bool | operator== (SymFnc const &rhs) const =0 |
Overload == operator. More... | |
virtual bool | operator< (SymFnc const &rhs) const =0 |
Overload < operator. More... | |
bool | operator!= (SymFnc const &rhs) const |
Overload != operator. More... | |
bool | operator> (SymFnc const &rhs) const |
Overload > operator. More... | |
bool | operator<= (SymFnc const &rhs) const |
Overload <= operator. More... | |
bool | operator>= (SymFnc const &rhs) const |
Overload >= operator. More... | |
virtual void | setParameters (std::string const ¶meterString)=0 |
Set parameters. More... | |
virtual void | changeLengthUnit (double convLength)=0 |
Change length unit. More... | |
virtual std::string | getSettingsLine () const =0 |
Get settings file line from currently set parameters. More... | |
virtual void | calculate (Atom &atom, bool const derivatives) const =0 |
Calculate symmetry function for one atom. More... | |
virtual std::string | parameterLine () const =0 |
Give symmetry function parameters in one line. More... | |
virtual std::vector< std::string > | parameterInfo () const |
Get description with parameter names and values. More... | |
void | setScalingType (ScalingType scalingType, std::string statisticsLine, double Smin, double Smax) |
Set symmetry function scaling type. More... | |
double | scale (double value) const |
Apply symmetry function scaling and/or centering. More... | |
double | unscale (double value) const |
Undo symmetry function scaling and/or centering. More... | |
std::size_t | getType () const |
Get private type member variable. More... | |
std::size_t | getIndex () const |
Get private index member variable. More... | |
std::size_t | getLineNumber () const |
Get private lineNumber member variable. More... | |
std::size_t | getEc () const |
Get private ec member variable. More... | |
std::size_t | getMinNeighbors () const |
Get private minNeighbors member variable. More... | |
double | getRc () const |
Get private rc member variable. More... | |
double | getGmin () const |
Get private Gmin member variable. More... | |
double | getGmax () const |
Get private Gmax member variable. More... | |
double | getScalingFactor () const |
Get private scalingFactor member variable. More... | |
double | getConvLength () const |
Get private convLength member variable. More... | |
std::set< std::string > | getParameters () const |
Get private parameters member variable. More... | |
std::vector< std::size_t > | getIndexPerElement () const |
Get private indexPerElement member variable. More... | |
void | setIndex (std::size_t index) |
Set private index member variable. More... | |
void | setIndexPerElement (std::size_t elementIndex, std::size_t index) |
Set private indexPerElement member variable. More... | |
void | setLineNumber (std::size_t lineNumber) |
Set line number. More... | |
std::string | scalingLine () const |
Get string with scaling information. More... | |
virtual double | calculateRadialPart (double distance) const =0 |
Calculate (partial) symmetry function value for one given distance. More... | |
virtual double | calculateAngularPart (double angle) const =0 |
Calculate (partial) symmetry function value for one given angle. More... | |
virtual bool | checkRelevantElement (std::size_t index) const =0 |
Check whether symmetry function is relevant for given element. More... | |
virtual std::vector< std::string > | getCacheIdentifiers () const |
Get unique cache identifiers. More... | |
void | addCacheIndex (std::size_t element, std::size_t cacheIndex, std::string cacheIdentifier) |
Add one cache index for given neighbor element and check identifier. More... | |
std::vector< std::vector< std::size_t > > | getCacheIndices () const |
Getter for cacheIndices. More... | |
Protected Types | |
typedef std::map< std::string, std::pair< std::string, std::string > > | PrintFormat |
typedef std::vector< std::string > | PrintOrder |
Protected Member Functions | |
SymFnc (std::size_t type, ElementMap const &) | |
Constructor, initializes type. More... | |
std::string | getPrintFormat () const |
Generate format string for symmetry function parameter printing. More... | |
Static Protected Member Functions | |
static PrintFormat const | initializePrintFormat () |
Initialize static print format map for all possible parameters. More... | |
static PrintOrder const | initializePrintOrder () |
Initialize static print order vector for all possible parameters. More... | |
Protected Attributes | |
std::size_t | type |
Symmetry function type. More... | |
ElementMap | elementMap |
Copy of element map. More... | |
std::size_t | index |
Symmetry function index (per element). More... | |
std::size_t | lineNumber |
Line number. More... | |
std::size_t | ec |
Element index of center atom. More... | |
std::size_t | minNeighbors |
Minimum number of neighbors required. More... | |
double | Smin |
Minimum for scaling range. More... | |
double | Smax |
Maximum for scaling range. More... | |
double | Gmin |
Minimum unscaled symmetry function value. More... | |
double | Gmax |
Maximum unscaled symmetry function value. More... | |
double | Gmean |
Mean unscaled symmetry function value. More... | |
double | Gsigma |
Sigma of unscaled symmetry function values. More... | |
double | rc |
Cutoff radius \(r_c\). More... | |
double | scalingFactor |
Scaling factor. More... | |
double | convLength |
Data set normalization length conversion factor. More... | |
ScalingType | scalingType |
Symmetry function scaling type used by this symmetry function. More... | |
std::set< std::string > | parameters |
Set with symmetry function parameter IDs (lookup for printing). More... | |
std::vector< std::size_t > | indexPerElement |
Per-element index for derivative memory in Atom::Neighbor::dGdr arrays. More... | |
std::vector< std::vector< std::size_t > > | cacheIndices |
Cache indices for each element. More... | |
Static Protected Attributes | |
static std::size_t const | sfinfoWidth = 12 |
Width of the SFINFO parameter description field (see parameterInfo()). More... | |
static PrintFormat const | printFormat = initializePrintFormat() |
Map of parameter format strings and empty strings. More... | |
static PrintOrder const | printOrder = initializePrintOrder() |
Vector of parameters in order of printing. More... | |
Symmetry function base class.
Actual symmetry functions derive from this class. Provides common functionality, e.g. scaling behavior.
|
protected |
|
protected |
List of available scaling types.
|
inlinevirtual |
|
protected |
Constructor, initializes type.
Definition at line 135 of file SymFnc.cpp.
References cacheIndices, elementMap, indexPerElement, parameters, and nnp::ElementMap::size().
|
pure virtual |
Overload == operator.
Implemented in nnp::SymFncCompAngn, nnp::SymFncCompAngnWeighted, nnp::SymFncCompAngw, nnp::SymFncCompAngwWeighted, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngn, nnp::SymFncExpAngnWeighted, nnp::SymFncExpAngw, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
pure virtual |
Overload < operator.
Implemented in nnp::SymFncCompAngn, nnp::SymFncCompAngnWeighted, nnp::SymFncCompAngw, nnp::SymFncCompAngwWeighted, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngn, nnp::SymFncExpAngnWeighted, nnp::SymFncExpAngw, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Set parameters.
[in] | parameterString | String containing all parameters for this symmetry function. |
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
pure virtual |
Change length unit.
[in] | convLength | Multiplicative length unit conversion factor. |
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
pure virtual |
Get settings file line from currently set parameters.
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
pure virtual |
Calculate symmetry function for one atom.
[in,out] | atom | Atom for which the symmetry function is caluclated. |
[in] | derivatives | If also symmetry function derivatives will be calculated and saved. |
Implemented in nnp::SymFncCompAngn, nnp::SymFncCompAngnWeighted, nnp::SymFncCompAngw, nnp::SymFncCompAngwWeighted, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngn, nnp::SymFncExpAngnWeighted, nnp::SymFncExpAngw, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
pure virtual |
Give symmetry function parameters in one line.
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
Referenced by nnp::Mode::setupSymmetryFunctionMemory().
|
virtual |
Get description with parameter names and values.
Reimplemented in nnp::SymFncBaseComp, nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseCutoff, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
Definition at line 32 of file SymFnc.cpp.
References convLength, ec, elementMap, index, lineNumber, nnp::pad(), rc, sfinfoWidth, nnp::strpr(), and type.
Referenced by nnp::SymFncBaseComp::parameterInfo(), and nnp::SymFncBaseCutoff::parameterInfo().
void SymFnc::setScalingType | ( | ScalingType | scalingType, |
std::string | statisticsLine, | ||
double | Smin, | ||
double | Smax | ||
) |
Set symmetry function scaling type.
[in] | scalingType | Desired symmetry function scaling type. |
[in] | statisticsLine | String containing symmetry function statistics ("min max mean sigma"). |
[in] | Smin | Minimum for scaling range \(S_\text{min}\). |
[in] | Smax | Maximum for scaling range \(S_\text{max}\). |
Definition at line 52 of file SymFnc.cpp.
References ec, Gmax, Gmean, Gmin, Gsigma, index, nnp::reduce(), scalingFactor, scalingType, Smax, Smin, nnp::split(), ST_CENTER, ST_NONE, ST_SCALE, ST_SCALECENTER, and ST_SCALESIGMA.
double SymFnc::scale | ( | double | value | ) | const |
Apply symmetry function scaling and/or centering.
[in] | value | Raw symmetry function value. |
Definition at line 169 of file SymFnc.cpp.
References Gmean, Gmin, scalingFactor, scalingType, Smin, ST_CENTER, ST_NONE, ST_SCALE, ST_SCALECENTER, and ST_SCALESIGMA.
Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompAngw::calculate(), nnp::SymFncCompAngwWeighted::calculate(), nnp::SymFncCompRad::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngn::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpAngw::calculate(), nnp::SymFncExpRad::calculate(), and nnp::SymFncExpRadWeighted::calculate().
double SymFnc::unscale | ( | double | value | ) | const |
Undo symmetry function scaling and/or centering.
[in] | value | Scaled symmetry function value. |
Definition at line 197 of file SymFnc.cpp.
References Gmean, Gmin, scalingFactor, scalingType, Smin, ST_CENTER, ST_NONE, ST_SCALE, ST_SCALECENTER, and ST_SCALESIGMA.
|
inline |
Get private type member variable.
Definition at line 355 of file SymFnc.h.
References type.
Referenced by nnp::SymGrpCompAngn::addMember(), nnp::SymGrpCompAngnWeighted::addMember(), nnp::SymGrpCompAngw::addMember(), nnp::SymGrpCompAngwWeighted::addMember(), nnp::SymGrpCompRad::addMember(), nnp::SymGrpCompRadWeighted::addMember(), nnp::SymGrpExpAngn::addMember(), nnp::SymGrpExpAngnWeighted::addMember(), nnp::SymGrpExpAngw::addMember(), nnp::SymGrpExpRad::addMember(), nnp::SymGrpExpRadWeighted::addMember(), nnp::SymFncCompAngn::operator<(), nnp::SymFncCompAngnWeighted::operator<(), nnp::SymFncCompAngw::operator<(), nnp::SymFncCompAngwWeighted::operator<(), nnp::SymFncCompRad::operator<(), nnp::SymFncCompRadWeighted::operator<(), nnp::SymFncExpAngn::operator<(), nnp::SymFncExpAngnWeighted::operator<(), nnp::SymFncExpAngw::operator<(), nnp::SymFncExpRad::operator<(), nnp::SymFncExpRadWeighted::operator<(), nnp::SymFncCompAngn::operator==(), nnp::SymFncCompAngnWeighted::operator==(), nnp::SymFncCompAngw::operator==(), nnp::SymFncCompAngwWeighted::operator==(), nnp::SymFncCompRad::operator==(), nnp::SymFncCompRadWeighted::operator==(), nnp::SymFncExpAngn::operator==(), nnp::SymFncExpAngnWeighted::operator==(), nnp::SymFncExpAngw::operator==(), nnp::SymFncExpRad::operator==(), and nnp::SymFncExpRadWeighted::operator==().
|
inline |
Get private index member variable.
Definition at line 357 of file SymFnc.h.
References index.
Referenced by nnp::Mode::setupSymmetryFunctionCache(), nnp::Mode::setupSymmetryFunctionMemory(), and nnp::SetupAnalysis::writeSymmetryFunctionShape().
|
inline |
Get private lineNumber member variable.
Definition at line 358 of file SymFnc.h.
References lineNumber.
|
inline |
Get private ec member variable.
Definition at line 356 of file SymFnc.h.
References ec.
Referenced by nnp::SymGrpCompAngn::addMember(), nnp::SymGrpCompAngnWeighted::addMember(), nnp::SymGrpCompAngw::addMember(), nnp::SymGrpCompAngwWeighted::addMember(), nnp::SymGrpCompRad::addMember(), nnp::SymGrpCompRadWeighted::addMember(), nnp::SymGrpExpAngn::addMember(), nnp::SymGrpExpAngnWeighted::addMember(), nnp::SymGrpExpAngw::addMember(), nnp::SymGrpExpRad::addMember(), nnp::SymGrpExpRadWeighted::addMember(), nnp::SymFncCompAngn::operator<(), nnp::SymFncCompAngnWeighted::operator<(), nnp::SymFncCompAngw::operator<(), nnp::SymFncCompAngwWeighted::operator<(), nnp::SymFncCompRad::operator<(), nnp::SymFncCompRadWeighted::operator<(), nnp::SymFncExpAngn::operator<(), nnp::SymFncExpAngnWeighted::operator<(), nnp::SymFncExpAngw::operator<(), nnp::SymFncExpRad::operator<(), nnp::SymFncExpRadWeighted::operator<(), nnp::SymFncCompAngn::operator==(), nnp::SymFncCompAngnWeighted::operator==(), nnp::SymFncCompAngw::operator==(), nnp::SymFncCompAngwWeighted::operator==(), nnp::SymFncCompRad::operator==(), nnp::SymFncCompRadWeighted::operator==(), nnp::SymFncExpAngn::operator==(), nnp::SymFncExpAngnWeighted::operator==(), nnp::SymFncExpAngw::operator==(), nnp::SymFncExpRad::operator==(), and nnp::SymFncExpRadWeighted::operator==().
|
inline |
Get private minNeighbors member variable.
Definition at line 359 of file SymFnc.h.
References minNeighbors.
|
inline |
Get private rc member variable.
Definition at line 360 of file SymFnc.h.
References rc.
Referenced by nnp::SymGrpCompAngn::addMember(), nnp::SymGrpCompAngnWeighted::addMember(), nnp::SymGrpCompAngw::addMember(), nnp::SymGrpCompAngwWeighted::addMember(), nnp::SymGrpCompRad::addMember(), nnp::SymGrpCompRadWeighted::addMember(), nnp::SymGrpExpAngn::addMember(), nnp::SymGrpExpAngnWeighted::addMember(), nnp::SymGrpExpAngw::addMember(), nnp::SymGrpExpRad::addMember(), and nnp::SymGrpExpRadWeighted::addMember().
|
inline |
|
inline |
|
inline |
Get private scalingFactor member variable.
Definition at line 363 of file SymFnc.h.
References scalingFactor.
|
inline |
Get private convLength member variable.
Definition at line 364 of file SymFnc.h.
References convLength.
Referenced by nnp::SymGrpCompAngn::addMember(), nnp::SymGrpCompAngnWeighted::addMember(), nnp::SymGrpCompAngw::addMember(), nnp::SymGrpCompAngwWeighted::addMember(), nnp::SymGrpCompRad::addMember(), nnp::SymGrpCompRadWeighted::addMember(), nnp::SymGrpExpAngn::addMember(), nnp::SymGrpExpAngnWeighted::addMember(), nnp::SymGrpExpAngw::addMember(), nnp::SymGrpExpRad::addMember(), and nnp::SymGrpExpRadWeighted::addMember().
|
inline |
Get private parameters member variable.
Definition at line 378 of file SymFnc.h.
References parameters.
|
inline |
Get private indexPerElement member variable.
Definition at line 383 of file SymFnc.h.
References indexPerElement.
Referenced by nnp::Mode::setupSymmetryFunctionMemory().
|
inline |
|
inline |
Set private indexPerElement member variable.
[in] | elementIndex | Element index. |
[in] | index | Symmetry function index. |
Definition at line 388 of file SymFnc.h.
References index, and indexPerElement.
|
inline |
Set line number.
[in] | lineNumber | Line number in settings file. |
Definition at line 372 of file SymFnc.h.
References lineNumber.
string SymFnc::scalingLine | ( | ) | const |
Get string with scaling information.
Definition at line 225 of file SymFnc.cpp.
References Gmax, Gmean, Gmin, Gsigma, index, scalingFactor, scalingType, Smax, Smin, and nnp::strpr().
|
pure virtual |
Calculate (partial) symmetry function value for one given distance.
[in] | distance | Distance between two atoms. |
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
Referenced by nnp::SetupAnalysis::writeSymmetryFunctionShape().
|
pure virtual |
Calculate (partial) symmetry function value for one given angle.
[in] | angle | Angle between triplet of atoms (in radians). |
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
Referenced by nnp::SetupAnalysis::writeSymmetryFunctionShape().
|
pure virtual |
Check whether symmetry function is relevant for given element.
[in] | index | Index of given element. |
Implemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
|
virtual |
Get unique cache identifiers.
Reimplemented in nnp::SymFncBaseCompAng, nnp::SymFncBaseCompAngWeighted, nnp::SymFncBaseExpAng, nnp::SymFncCompRad, nnp::SymFncCompRadWeighted, nnp::SymFncExpAngnWeighted, nnp::SymFncExpRad, and nnp::SymFncExpRadWeighted.
Definition at line 101 of file SymFnc.cpp.
Referenced by addCacheIndex(), and nnp::Mode::setupSymmetryFunctionCache().
void SymFnc::addCacheIndex | ( | std::size_t | element, |
std::size_t | cacheIndex, | ||
std::string | cacheIdentifier | ||
) |
Add one cache index for given neighbor element and check identifier.
[in] | element | Index of neighbor atom element. |
[in] | cacheIndex | Cache index in Atom::Neighbor. |
[in] | cacheIdentifier | Cache identifier for checking. |
Definition at line 106 of file SymFnc.cpp.
References cacheIndices, elementMap, getCacheIdentifiers(), nnp::ElementMap::size(), nnp::split(), and nnp::strpr().
Referenced by nnp::Element::setCacheIndices().
|
inline |
Getter for cacheIndices.
Definition at line 396 of file SymFnc.h.
References cacheIndices.
Referenced by nnp::SymGrpCompRadWeighted::calculate().
|
staticprotected |
Initialize static print format map for all possible parameters.
Definition at line 239 of file SymFnc.cpp.
|
staticprotected |
Initialize static print order vector for all possible parameters.
Definition at line 262 of file SymFnc.cpp.
|
protected |
Generate format string for symmetry function parameter printing.
Definition at line 285 of file SymFnc.cpp.
References parameters, printFormat, printOrder, and nnp::safeFind().
Referenced by nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), and nnp::SymFncExpRadWeighted::parameterLine().
|
protected |
Symmetry function type.
Definition at line 268 of file SymFnc.h.
Referenced by nnp::SymFncBaseCompAng::getSettingsLine(), nnp::SymFncBaseCompAngWeighted::getSettingsLine(), nnp::SymFncBaseExpAng::getSettingsLine(), nnp::SymFncCompRad::getSettingsLine(), nnp::SymFncCompRadWeighted::getSettingsLine(), nnp::SymFncExpAngnWeighted::getSettingsLine(), nnp::SymFncExpRad::getSettingsLine(), nnp::SymFncExpRadWeighted::getSettingsLine(), getType(), nnp::SymFncCompAngn::operator<(), nnp::SymFncCompAngnWeighted::operator<(), nnp::SymFncCompAngw::operator<(), nnp::SymFncCompAngwWeighted::operator<(), nnp::SymFncCompRad::operator<(), nnp::SymFncCompRadWeighted::operator<(), nnp::SymFncExpAngn::operator<(), nnp::SymFncExpAngnWeighted::operator<(), nnp::SymFncExpAngw::operator<(), nnp::SymFncExpRad::operator<(), nnp::SymFncExpRadWeighted::operator<(), nnp::SymFncCompAngn::operator==(), nnp::SymFncCompAngnWeighted::operator==(), nnp::SymFncCompAngw::operator==(), nnp::SymFncCompAngwWeighted::operator==(), nnp::SymFncCompRad::operator==(), nnp::SymFncCompRadWeighted::operator==(), nnp::SymFncExpAngn::operator==(), nnp::SymFncExpAngnWeighted::operator==(), nnp::SymFncExpAngw::operator==(), nnp::SymFncExpRad::operator==(), nnp::SymFncExpRadWeighted::operator==(), parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), nnp::SymFncExpRadWeighted::parameterLine(), nnp::SymFncBaseCompAng::setParameters(), nnp::SymFncBaseCompAngWeighted::setParameters(), nnp::SymFncBaseExpAng::setParameters(), nnp::SymFncCompRad::setParameters(), nnp::SymFncCompRadWeighted::setParameters(), nnp::SymFncExpAngnWeighted::setParameters(), nnp::SymFncExpRad::setParameters(), and nnp::SymFncExpRadWeighted::setParameters().
|
protected |
Copy of element map.
Definition at line 270 of file SymFnc.h.
Referenced by addCacheIndex(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompAngwWeighted::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpRadWeighted::calculate(), nnp::SymFncBaseCompAngWeighted::getCacheIdentifiers(), nnp::SymFncCompRadWeighted::getCacheIdentifiers(), nnp::SymFncExpAngnWeighted::getCacheIdentifiers(), nnp::SymFncExpRadWeighted::getCacheIdentifiers(), nnp::SymFncBaseCompAng::getSettingsLine(), nnp::SymFncBaseCompAngWeighted::getSettingsLine(), nnp::SymFncBaseExpAng::getSettingsLine(), nnp::SymFncCompRad::getSettingsLine(), nnp::SymFncCompRadWeighted::getSettingsLine(), nnp::SymFncExpAngnWeighted::getSettingsLine(), nnp::SymFncExpRad::getSettingsLine(), nnp::SymFncExpRadWeighted::getSettingsLine(), parameterInfo(), nnp::SymFncBaseCompAng::parameterInfo(), nnp::SymFncBaseExpAng::parameterInfo(), nnp::SymFncCompRad::parameterInfo(), nnp::SymFncExpRad::parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), nnp::SymFncExpRadWeighted::parameterLine(), nnp::SymFncBaseCompAng::setParameters(), nnp::SymFncBaseCompAngWeighted::setParameters(), nnp::SymFncBaseExpAng::setParameters(), nnp::SymFncCompRad::setParameters(), nnp::SymFncCompRadWeighted::setParameters(), nnp::SymFncExpAngnWeighted::setParameters(), nnp::SymFncExpRad::setParameters(), nnp::SymFncExpRadWeighted::setParameters(), and SymFnc().
|
protected |
Symmetry function index (per element).
Definition at line 272 of file SymFnc.h.
Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompAngw::calculate(), nnp::SymFncCompAngwWeighted::calculate(), nnp::SymFncCompRad::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngn::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpAngw::calculate(), nnp::SymFncExpRad::calculate(), nnp::SymFncExpRadWeighted::calculate(), nnp::SymFncBaseCompAng::checkRelevantElement(), nnp::SymFncBaseExpAng::checkRelevantElement(), nnp::SymFncCompRad::checkRelevantElement(), nnp::SymFncExpRad::checkRelevantElement(), getIndex(), parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), nnp::SymFncExpRadWeighted::parameterLine(), scalingLine(), setIndex(), setIndexPerElement(), and setScalingType().
|
protected |
Line number.
Definition at line 274 of file SymFnc.h.
Referenced by getLineNumber(), parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), nnp::SymFncExpRadWeighted::parameterLine(), and setLineNumber().
|
protected |
Element index of center atom.
Definition at line 276 of file SymFnc.h.
Referenced by getEc(), nnp::SymFncBaseCompAng::getSettingsLine(), nnp::SymFncBaseCompAngWeighted::getSettingsLine(), nnp::SymFncBaseExpAng::getSettingsLine(), nnp::SymFncCompRad::getSettingsLine(), nnp::SymFncCompRadWeighted::getSettingsLine(), nnp::SymFncExpAngnWeighted::getSettingsLine(), nnp::SymFncExpRad::getSettingsLine(), nnp::SymFncExpRadWeighted::getSettingsLine(), nnp::SymFncCompAngn::operator<(), nnp::SymFncCompAngnWeighted::operator<(), nnp::SymFncCompAngw::operator<(), nnp::SymFncCompAngwWeighted::operator<(), nnp::SymFncCompRad::operator<(), nnp::SymFncCompRadWeighted::operator<(), nnp::SymFncExpAngn::operator<(), nnp::SymFncExpAngnWeighted::operator<(), nnp::SymFncExpAngw::operator<(), nnp::SymFncExpRad::operator<(), nnp::SymFncExpRadWeighted::operator<(), nnp::SymFncCompAngn::operator==(), nnp::SymFncCompAngnWeighted::operator==(), nnp::SymFncCompAngw::operator==(), nnp::SymFncCompAngwWeighted::operator==(), nnp::SymFncCompRad::operator==(), nnp::SymFncCompRadWeighted::operator==(), nnp::SymFncExpAngn::operator==(), nnp::SymFncExpAngnWeighted::operator==(), nnp::SymFncExpAngw::operator==(), nnp::SymFncExpRad::operator==(), nnp::SymFncExpRadWeighted::operator==(), parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), nnp::SymFncExpRadWeighted::parameterLine(), nnp::SymFncBaseCompAng::setParameters(), nnp::SymFncBaseCompAngWeighted::setParameters(), nnp::SymFncBaseExpAng::setParameters(), nnp::SymFncCompRad::setParameters(), nnp::SymFncCompRadWeighted::setParameters(), nnp::SymFncExpAngnWeighted::setParameters(), nnp::SymFncExpRad::setParameters(), nnp::SymFncExpRadWeighted::setParameters(), and setScalingType().
|
protected |
Minimum number of neighbors required.
Definition at line 278 of file SymFnc.h.
Referenced by getMinNeighbors(), nnp::SymFncBaseCompAng::SymFncBaseCompAng(), nnp::SymFncBaseCompAngWeighted::SymFncBaseCompAngWeighted(), nnp::SymFncBaseExpAng::SymFncBaseExpAng(), nnp::SymFncCompRad::SymFncCompRad(), nnp::SymFncCompRadWeighted::SymFncCompRadWeighted(), nnp::SymFncExpAngnWeighted::SymFncExpAngnWeighted(), nnp::SymFncExpRad::SymFncExpRad(), and nnp::SymFncExpRadWeighted::SymFncExpRadWeighted().
|
protected |
Minimum for scaling range.
Definition at line 280 of file SymFnc.h.
Referenced by scale(), scalingLine(), setScalingType(), and unscale().
|
protected |
Maximum for scaling range.
Definition at line 282 of file SymFnc.h.
Referenced by scalingLine(), and setScalingType().
|
protected |
Minimum unscaled symmetry function value.
Definition at line 284 of file SymFnc.h.
Referenced by getGmin(), scale(), scalingLine(), setScalingType(), and unscale().
|
protected |
Maximum unscaled symmetry function value.
Definition at line 286 of file SymFnc.h.
Referenced by getGmax(), scalingLine(), and setScalingType().
|
protected |
Mean unscaled symmetry function value.
Definition at line 288 of file SymFnc.h.
Referenced by scale(), scalingLine(), setScalingType(), and unscale().
|
protected |
Sigma of unscaled symmetry function values.
Definition at line 290 of file SymFnc.h.
Referenced by scalingLine(), and setScalingType().
|
protected |
Cutoff radius \(r_c\).
Definition at line 292 of file SymFnc.h.
Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompRad::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngn::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpAngw::calculate(), nnp::SymFncExpRad::calculate(), nnp::SymFncExpRadWeighted::calculate(), nnp::SymFncBaseCompAng::changeLengthUnit(), nnp::SymFncBaseCompAngWeighted::changeLengthUnit(), nnp::SymFncBaseExpAng::changeLengthUnit(), nnp::SymFncCompRad::changeLengthUnit(), nnp::SymFncCompRadWeighted::changeLengthUnit(), nnp::SymFncExpAngnWeighted::changeLengthUnit(), nnp::SymFncExpRad::changeLengthUnit(), nnp::SymFncExpRadWeighted::changeLengthUnit(), nnp::SymFncBaseCompAng::getCacheIdentifiers(), nnp::SymFncBaseCompAngWeighted::getCacheIdentifiers(), nnp::SymFncBaseExpAng::getCacheIdentifiers(), nnp::SymFncCompRad::getCacheIdentifiers(), nnp::SymFncCompRadWeighted::getCacheIdentifiers(), nnp::SymFncExpAngnWeighted::getCacheIdentifiers(), nnp::SymFncExpRad::getCacheIdentifiers(), nnp::SymFncExpRadWeighted::getCacheIdentifiers(), getRc(), nnp::SymFncBaseCompAng::getSettingsLine(), nnp::SymFncBaseCompAngWeighted::getSettingsLine(), nnp::SymFncBaseExpAng::getSettingsLine(), nnp::SymFncCompRad::getSettingsLine(), nnp::SymFncCompRadWeighted::getSettingsLine(), nnp::SymFncExpAngnWeighted::getSettingsLine(), nnp::SymFncExpRad::getSettingsLine(), nnp::SymFncExpRadWeighted::getSettingsLine(), nnp::SymFncCompAngn::operator<(), nnp::SymFncCompAngnWeighted::operator<(), nnp::SymFncCompAngw::operator<(), nnp::SymFncCompAngwWeighted::operator<(), nnp::SymFncCompRad::operator<(), nnp::SymFncCompRadWeighted::operator<(), nnp::SymFncExpAngn::operator<(), nnp::SymFncExpAngnWeighted::operator<(), nnp::SymFncExpAngw::operator<(), nnp::SymFncExpRad::operator<(), nnp::SymFncExpRadWeighted::operator<(), nnp::SymFncCompAngn::operator==(), nnp::SymFncCompAngnWeighted::operator==(), nnp::SymFncCompAngw::operator==(), nnp::SymFncCompAngwWeighted::operator==(), nnp::SymFncCompRad::operator==(), nnp::SymFncCompRadWeighted::operator==(), nnp::SymFncExpAngn::operator==(), nnp::SymFncExpAngnWeighted::operator==(), nnp::SymFncExpAngw::operator==(), nnp::SymFncExpRad::operator==(), nnp::SymFncExpRadWeighted::operator==(), parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), nnp::SymFncExpRadWeighted::parameterLine(), nnp::SymFncBaseCompAng::setParameters(), nnp::SymFncBaseCompAngWeighted::setParameters(), nnp::SymFncBaseExpAng::setParameters(), nnp::SymFncCompRad::setParameters(), nnp::SymFncCompRadWeighted::setParameters(), nnp::SymFncExpAngnWeighted::setParameters(), nnp::SymFncExpRad::setParameters(), and nnp::SymFncExpRadWeighted::setParameters().
|
protected |
Scaling factor.
Definition at line 294 of file SymFnc.h.
Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompAngw::calculate(), nnp::SymFncCompAngwWeighted::calculate(), nnp::SymFncCompRad::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngn::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpAngw::calculate(), nnp::SymFncExpRad::calculate(), nnp::SymFncExpRadWeighted::calculate(), getScalingFactor(), scale(), scalingLine(), setScalingType(), and unscale().
|
protected |
Data set normalization length conversion factor.
Definition at line 296 of file SymFnc.h.
Referenced by nnp::SymFncBaseCompAng::calculateRadialPart(), nnp::SymFncBaseCompAngWeighted::calculateRadialPart(), nnp::SymFncBaseExpAng::calculateRadialPart(), nnp::SymFncCompRad::calculateRadialPart(), nnp::SymFncCompRadWeighted::calculateRadialPart(), nnp::SymFncExpAngnWeighted::calculateRadialPart(), nnp::SymFncExpRad::calculateRadialPart(), nnp::SymFncExpRadWeighted::calculateRadialPart(), nnp::SymFncBaseCompAng::changeLengthUnit(), nnp::SymFncBaseCompAngWeighted::changeLengthUnit(), nnp::SymFncBaseExpAng::changeLengthUnit(), nnp::SymFncCompRad::changeLengthUnit(), nnp::SymFncCompRadWeighted::changeLengthUnit(), nnp::SymFncExpAngnWeighted::changeLengthUnit(), nnp::SymFncExpRad::changeLengthUnit(), nnp::SymFncExpRadWeighted::changeLengthUnit(), nnp::SymFncBaseCompAng::getCacheIdentifiers(), nnp::SymFncBaseCompAngWeighted::getCacheIdentifiers(), nnp::SymFncBaseExpAng::getCacheIdentifiers(), nnp::SymFncCompRad::getCacheIdentifiers(), nnp::SymFncCompRadWeighted::getCacheIdentifiers(), nnp::SymFncExpAngnWeighted::getCacheIdentifiers(), nnp::SymFncExpRad::getCacheIdentifiers(), nnp::SymFncExpRadWeighted::getCacheIdentifiers(), getConvLength(), nnp::SymFncBaseCompAng::getSettingsLine(), nnp::SymFncBaseCompAngWeighted::getSettingsLine(), nnp::SymFncBaseExpAng::getSettingsLine(), nnp::SymFncCompRad::getSettingsLine(), nnp::SymFncCompRadWeighted::getSettingsLine(), nnp::SymFncExpAngnWeighted::getSettingsLine(), nnp::SymFncExpRad::getSettingsLine(), nnp::SymFncExpRadWeighted::getSettingsLine(), parameterInfo(), nnp::SymFncBaseComp::parameterInfo(), nnp::SymFncBaseExpAng::parameterInfo(), nnp::SymFncExpAngnWeighted::parameterInfo(), nnp::SymFncExpRad::parameterInfo(), nnp::SymFncExpRadWeighted::parameterInfo(), nnp::SymFncBaseCompAng::parameterLine(), nnp::SymFncBaseCompAngWeighted::parameterLine(), nnp::SymFncBaseExpAng::parameterLine(), nnp::SymFncCompRad::parameterLine(), nnp::SymFncCompRadWeighted::parameterLine(), nnp::SymFncExpAngnWeighted::parameterLine(), nnp::SymFncExpRad::parameterLine(), and nnp::SymFncExpRadWeighted::parameterLine().
|
protected |
Symmetry function scaling type used by this symmetry function.
Definition at line 298 of file SymFnc.h.
Referenced by scale(), scalingLine(), setScalingType(), and unscale().
|
protected |
Set with symmetry function parameter IDs (lookup for printing).
Definition at line 300 of file SymFnc.h.
Referenced by getParameters(), getPrintFormat(), SymFnc(), nnp::SymFncBaseComp::SymFncBaseComp(), nnp::SymFncBaseCompAng::SymFncBaseCompAng(), nnp::SymFncBaseCompAngWeighted::SymFncBaseCompAngWeighted(), nnp::SymFncBaseCutoff::SymFncBaseCutoff(), nnp::SymFncBaseExpAng::SymFncBaseExpAng(), nnp::SymFncCompRad::SymFncCompRad(), nnp::SymFncExpAngnWeighted::SymFncExpAngnWeighted(), nnp::SymFncExpRad::SymFncExpRad(), and nnp::SymFncExpRadWeighted::SymFncExpRadWeighted().
|
protected |
Per-element index for derivative memory in Atom::Neighbor::dGdr arrays.
Definition at line 302 of file SymFnc.h.
Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompAngw::calculate(), nnp::SymFncCompAngwWeighted::calculate(), nnp::SymFncCompRad::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngn::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpAngw::calculate(), nnp::SymFncExpRad::calculate(), nnp::SymFncExpRadWeighted::calculate(), getIndexPerElement(), setIndexPerElement(), and SymFnc().
|
protected |
Cache indices for each element.
Definition at line 306 of file SymFnc.h.
Referenced by addCacheIndex(), nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngnWeighted::calculate(), nnp::SymFncCompAngw::calculate(), nnp::SymFncCompAngwWeighted::calculate(), nnp::SymFncCompRad::calculate(), nnp::SymFncCompRadWeighted::calculate(), nnp::SymFncExpAngn::calculate(), nnp::SymFncExpAngnWeighted::calculate(), nnp::SymFncExpAngw::calculate(), nnp::SymFncExpRad::calculate(), nnp::SymFncExpRadWeighted::calculate(), getCacheIndices(), and SymFnc().
|
staticprotected |
Width of the SFINFO parameter description field (see parameterInfo()).
Definition at line 309 of file SymFnc.h.
Referenced by parameterInfo(), nnp::SymFncBaseComp::parameterInfo(), nnp::SymFncBaseCompAng::parameterInfo(), nnp::SymFncBaseCompAngWeighted::parameterInfo(), nnp::SymFncBaseCutoff::parameterInfo(), nnp::SymFncBaseExpAng::parameterInfo(), nnp::SymFncCompRad::parameterInfo(), nnp::SymFncExpAngnWeighted::parameterInfo(), nnp::SymFncExpRad::parameterInfo(), and nnp::SymFncExpRadWeighted::parameterInfo().
|
staticprotected |
Map of parameter format strings and empty strings.
Definition at line 311 of file SymFnc.h.
Referenced by getPrintFormat().
|
staticprotected |
Vector of parameters in order of printing.
Definition at line 313 of file SymFnc.h.
Referenced by getPrintFormat().