n2p2 - A neural network potential package
nnp::SymFncBaseCompAng Class Reference

Intermediate symmetry function class for angular SFs with compact support. More...

#include <SymFncBaseCompAng.h>

Inheritance diagram for nnp::SymFncBaseCompAng:
Collaboration diagram for nnp::SymFncBaseCompAng:

Public Member Functions

virtual void setParameters (std::string const &parameterString)
 Set symmetry function parameters. More...
 
virtual void changeLengthUnit (double convLength)
 Change length unit. More...
 
virtual std::string getSettingsLine () const
 Get settings file line from currently set parameters. More...
 
void getCompactAngle (double const x, double &fx, double &dfx) const
 
void getCompactRadial (double const x, double &fx, double &dfx) const
 
virtual std::string parameterLine () const
 Give symmetry function parameters in one line. More...
 
virtual std::vector< std::string > parameterInfo () const
 Get description with parameter names and values. More...
 
std::size_t getE1 () const
 Get private e1 member variable. More...
 
std::size_t getE2 () const
 Get private e2 member variable. More...
 
double getAngleLeft () const
 Get private angleLeft member variable. More...
 
double getAngleRight () const
 Get private angleRight member variable. More...
 
virtual double calculateRadialPart (double distance) const
 Calculate (partial) symmetry function value for one given distance. More...
 
virtual double calculateAngularPart (double angle) const
 Calculate (partial) symmetry function value for one given angle. More...
 
virtual bool checkRelevantElement (std::size_t index) const
 Check whether symmetry function is relevant for given element. More...
 
virtual std::vector< std::string > getCacheIdentifiers () const
 Get unique cache identifiers. More...
 
- Public Member Functions inherited from nnp::SymFncBaseComp
virtual std::vector< std::string > parameterInfo () const
 Get description with parameter names and values. More...
 
void setCompactFunction (std::string subtype)
 Set radial compact function. More...
 
std::string getSubtype () const
 Get private subtype member variable. More...
 
double getRl () const
 Get private rl member variable. More...
 
- Public Member Functions inherited from nnp::SymFnc
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 &parameterString)=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 Member Functions

 SymFncBaseCompAng (std::size_t type, ElementMap const &)
 Constructor, initializes type. More...
 
- Protected Member Functions inherited from nnp::SymFncBaseComp
 SymFncBaseComp (std::size_t type, ElementMap const &)
 Constructor, initializes type. More...
 
- Protected Member Functions inherited from nnp::SymFnc
 SymFnc (std::size_t type, ElementMap const &)
 Constructor, initializes type. More...
 
std::string getPrintFormat () const
 Generate format string for symmetry function parameter printing. More...
 

Protected Attributes

std::size_t e1
 Element index of neighbor atom 1. More...
 
std::size_t e2
 Element index of neighbor atom 2. More...
 
double angleLeft
 Left angle boundary. More...
 
double angleRight
 Right angle boundary. More...
 
double angleLeftRadians
 Left angle boundary in radians. More...
 
double angleRightRadians
 Right angle boundary in radians. More...
 
CompactFunction ca
 Compact function member for angular part. More...
 
- Protected Attributes inherited from nnp::SymFncBaseComp
bool asymmetric
 If asymmetric version of polynomials should be used. More...
 
double rl
 Lower bound of compact function, \(r_{l}\). More...
 
std::string subtype
 Subtype string (specifies e.g. polynom type). More...
 
CompactFunction cr
 Compact function for radial part. More...
 
- Protected Attributes inherited from nnp::SymFnc
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...
 

Additional Inherited Members

- Public Types inherited from nnp::SymFnc
enum  ScalingType {
  ST_NONE , ST_SCALE , ST_CENTER , ST_SCALECENTER ,
  ST_SCALESIGMA
}
 List of available scaling types. More...
 
- Protected Types inherited from nnp::SymFnc
typedef std::map< std::string, std::pair< std::string, std::string > > PrintFormat
 
typedef std::vector< std::string > PrintOrder
 
- Static Protected Member Functions inherited from nnp::SymFnc
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...
 
- Static Protected Attributes inherited from nnp::SymFnc
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...
 

Detailed Description

Intermediate symmetry function class for angular SFs with compact support.

Definition at line 30 of file SymFncBaseCompAng.h.

Constructor & Destructor Documentation

◆ SymFncBaseCompAng()

SymFncBaseCompAng::SymFncBaseCompAng ( std::size_t  type,
ElementMap const &   
)
protected

Constructor, initializes type.

Definition at line 31 of file SymFncBaseCompAng.cpp.

32 :
34 e1 (0 ),
35 e2 (0 ),
36 angleLeft (0.0),
37 angleRight (0.0),
38 angleLeftRadians (0.0),
40{
41 minNeighbors = 2;
42 parameters.insert("e1");
43 parameters.insert("e2");
44 parameters.insert("angleLeft");
45 parameters.insert("angleRight");
46}
double angleLeft
Left angle boundary.
double angleRight
Right angle boundary.
double angleRightRadians
Right angle boundary in radians.
std::size_t e2
Element index of neighbor atom 2.
double angleLeftRadians
Left angle boundary in radians.
std::size_t e1
Element index of neighbor atom 1.
SymFncBaseComp(std::size_t type, ElementMap const &)
Constructor, initializes type.
std::size_t type
Symmetry function type.
Definition: SymFnc.h:268
std::set< std::string > parameters
Set with symmetry function parameter IDs (lookup for printing).
Definition: SymFnc.h:300
ElementMap elementMap
Copy of element map.
Definition: SymFnc.h:270
std::size_t minNeighbors
Minimum number of neighbors required.
Definition: SymFnc.h:278

References nnp::SymFnc::minNeighbors, and nnp::SymFnc::parameters.

Member Function Documentation

◆ setParameters()

void SymFncBaseCompAng::setParameters ( std::string const &  parameterString)
virtual

Set symmetry function parameters.

Parameters
[in]parameterStringString containing angular symmetry function parameters.

Implements nnp::SymFnc.

Definition at line 48 of file SymFncBaseCompAng.cpp.

49{
50 vector<string> splitLine = split(reduce(parameterString));
51
52 if (type != (size_t)atoi(splitLine.at(1).c_str()))
53 {
54 throw runtime_error("ERROR: Incorrect symmetry function type.\n");
55 }
56
57 ec = elementMap[splitLine.at(0)];
58 e1 = elementMap[splitLine.at(2)];
59 e2 = elementMap[splitLine.at(3)];
60 rl = atof(splitLine.at(4).c_str());
61 rc = atof(splitLine.at(5).c_str());
62 angleLeft = atof(splitLine.at(6).c_str());
63 angleRight = atof(splitLine.at(7).c_str());
64 subtype = splitLine.at(8);
65
66 if (e1 > e2)
67 {
68 size_t tmp = e1;
69 e1 = e2;
70 e2 = tmp;
71 }
72
73 // Radial part.
74 if (rl > rc)
75 {
76 throw runtime_error("ERROR: Lower radial boundary >= upper "
77 "radial boundary.\n");
78 }
79 //if (rl < 0.0 && abs(rl + rc) > numeric_limits<double>::epsilon())
80 //{
81 // throw runtime_error("ERROR: Radial function not symmetric "
82 // "w.r.t. origin.\n");
83 //}
84
87
88 // Angular part.
89 if (angleLeft >= angleRight)
90 {
91 throw runtime_error("ERROR: Left angle boundary right of or equal to "
92 "right angle boundary.\n");
93 }
94
95 double const center = (angleLeft + angleRight) / 2.0;
96 if ( (angleLeft < 0.0 && center != 0.0) ||
97 (angleRight > 180.0 && center != 180.0) )
98 {
99 throw runtime_error("ERROR: Angle boundary out of [0,180] and "
100 "center of angular function /= 0 or /= 180.\n");
101 }
102 if (angleRight - angleLeft > 360.0)
103 {
104 throw runtime_error("ERROR: Periodic symmetry function cannot spread "
105 "over domain > 360 degrees\n");
106 }
107
109 angleLeftRadians = angleLeft * M_PI / 180.0;
110 angleRightRadians = angleRight * M_PI / 180.0;
112
113 return;
114}
void setCoreFunction(CoreFunction::Type const type)
Set type.
CoreFunction::Type getCoreFunctionType() const
Getter for #type.
void setLeftRight(double left, double right)
Set left and right boundary.
CompactFunction ca
Compact function member for angular part.
double rl
Lower bound of compact function, .
CompactFunction cr
Compact function for radial part.
std::string subtype
Subtype string (specifies e.g. polynom type).
void setCompactFunction(std::string subtype)
Set radial compact function.
double rc
Cutoff radius .
Definition: SymFnc.h:292
std::size_t ec
Element index of center atom.
Definition: SymFnc.h:276
vector< string > split(string const &input, char delimiter)
Split string at each delimiter.
Definition: utility.cpp:33
string reduce(string const &line, string const &whitespace, string const &fill)
Replace multiple whitespaces with fill.
Definition: utility.cpp:60

References angleLeft, angleLeftRadians, angleRight, angleRightRadians, ca, nnp::SymFncBaseComp::cr, e1, e2, nnp::SymFnc::ec, nnp::SymFnc::elementMap, nnp::CompactFunction::getCoreFunctionType(), nnp::SymFnc::rc, nnp::reduce(), nnp::SymFncBaseComp::rl, nnp::SymFncBaseComp::setCompactFunction(), nnp::CompactFunction::setCoreFunction(), nnp::CompactFunction::setLeftRight(), nnp::split(), nnp::SymFncBaseComp::subtype, and nnp::SymFnc::type.

Here is the call graph for this function:

◆ changeLengthUnit()

void SymFncBaseCompAng::changeLengthUnit ( double  convLength)
virtual

Change length unit.

Parameters
[in]convLengthMultiplicative length unit conversion factor.

Implements nnp::SymFnc.

Definition at line 116 of file SymFncBaseCompAng.cpp.

117{
118 this->convLength = convLength;
119 rc *= convLength;
120 rl *= convLength;
121
123
124 return;
125}
double convLength
Data set normalization length conversion factor.
Definition: SymFnc.h:296

References nnp::SymFnc::convLength, nnp::SymFncBaseComp::cr, nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, and nnp::CompactFunction::setLeftRight().

Here is the call graph for this function:

◆ getSettingsLine()

string SymFncBaseCompAng::getSettingsLine ( ) const
virtual

Get settings file line from currently set parameters.

Returns
Settings file string ("symfunction_short ...").

Implements nnp::SymFnc.

Definition at line 127 of file SymFncBaseCompAng.cpp.

128{
129 string s = strpr("symfunction_short %2s %2zu %2s %2s %16.8E %16.8E "
130 "%16.8E %16.8E %s\n",
131 elementMap[ec].c_str(),
132 type,
133 elementMap[e1].c_str(),
134 elementMap[e2].c_str(),
135 rl / convLength,
136 rc / convLength,
137 angleLeft,
139 subtype.c_str());
140
141 return s;
142}
string strpr(const char *format,...)
String version of printf function.
Definition: utility.cpp:90

References angleLeft, angleRight, nnp::SymFnc::convLength, e1, e2, nnp::SymFnc::ec, nnp::SymFnc::elementMap, nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::strpr(), nnp::SymFncBaseComp::subtype, and nnp::SymFnc::type.

Here is the call graph for this function:

◆ getCompactAngle()

void nnp::SymFncBaseCompAng::getCompactAngle ( double const  x,
double &  fx,
double &  dfx 
) const
inline

Definition at line 138 of file SymFncBaseCompAng.h.

141{
142 ca.fdf(x, fx, dfx);
143 return;
144}
void fdf(double a, double &fa, double &dfa) const
Calculate compact function and derivative at once.

References ca, and nnp::CompactFunction::fdf().

Referenced by nnp::SymGrpCompAngn::calculate(), and nnp::SymGrpCompAngw::calculate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCompactRadial()

void nnp::SymFncBaseCompAng::getCompactRadial ( double const  x,
double &  fx,
double &  dfx 
) const
inline

Definition at line 146 of file SymFncBaseCompAng.h.

149{
150 cr.fdf(x, fx, dfx);
151 return;
152}

References nnp::SymFncBaseComp::cr, and nnp::CompactFunction::fdf().

Referenced by nnp::SymGrpCompAngn::calculate(), and nnp::SymGrpCompAngw::calculate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parameterLine()

string SymFncBaseCompAng::parameterLine ( ) const
virtual

Give symmetry function parameters in one line.

Returns
String containing symmetry function parameter values.

Implements nnp::SymFnc.

Definition at line 144 of file SymFncBaseCompAng.cpp.

145{
146 return strpr(getPrintFormat().c_str(),
147 index + 1,
148 elementMap[ec].c_str(),
149 type,
150 subtype.c_str(),
151 elementMap[e1].c_str(),
152 elementMap[e2].c_str(),
153 rl / convLength,
154 rc / convLength,
155 angleLeft,
157 lineNumber + 1);
158}
std::size_t index
Symmetry function index (per element).
Definition: SymFnc.h:272
std::size_t lineNumber
Line number.
Definition: SymFnc.h:274
std::string getPrintFormat() const
Generate format string for symmetry function parameter printing.
Definition: SymFnc.cpp:285

References angleLeft, angleRight, nnp::SymFnc::convLength, e1, e2, nnp::SymFnc::ec, nnp::SymFnc::elementMap, nnp::SymFnc::getPrintFormat(), nnp::SymFnc::index, nnp::SymFnc::lineNumber, nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::strpr(), nnp::SymFncBaseComp::subtype, and nnp::SymFnc::type.

Here is the call graph for this function:

◆ parameterInfo()

vector< string > SymFncBaseCompAng::parameterInfo ( ) const
virtual

Get description with parameter names and values.

Returns
Vector of parameter description strings.

Reimplemented from nnp::SymFncBaseComp.

Definition at line 160 of file SymFncBaseCompAng.cpp.

161{
162 vector<string> v = SymFncBaseComp::parameterInfo();
163 string s;
164 size_t w = sfinfoWidth;
165
166 s = "e1";
167 v.push_back(strpr((pad(s, w) + "%s" ).c_str(), elementMap[e1].c_str()));
168 s = "e2";
169 v.push_back(strpr((pad(s, w) + "%s" ).c_str(), elementMap[e2].c_str()));
170 s = "angleLeft";
171 v.push_back(strpr((pad(s, w) + "%14.8E").c_str(), angleLeft));
172 s = "angleRight";
173 v.push_back(strpr((pad(s, w) + "%14.8E").c_str(), angleRight));
174
175 return v;
176}
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.
static std::size_t const sfinfoWidth
Width of the SFINFO parameter description field (see parameterInfo()).
Definition: SymFnc.h:309
string pad(string const &input, size_t num, char fill, bool right)
Definition: utility.cpp:79

References angleLeft, angleRight, e1, e2, nnp::SymFnc::elementMap, nnp::pad(), nnp::SymFncBaseComp::parameterInfo(), nnp::SymFnc::sfinfoWidth, and nnp::strpr().

Here is the call graph for this function:

◆ getE1()

std::size_t nnp::SymFncBaseCompAng::getE1 ( ) const
inline

Get private e1 member variable.

Definition at line 133 of file SymFncBaseCompAng.h.

133{ return e1; }

References e1.

Referenced by nnp::SymGrpCompAngn::addMember(), and nnp::SymGrpCompAngw::addMember().

Here is the caller graph for this function:

◆ getE2()

std::size_t nnp::SymFncBaseCompAng::getE2 ( ) const
inline

Get private e2 member variable.

Definition at line 134 of file SymFncBaseCompAng.h.

134{ return e2; }

References e2.

Referenced by nnp::SymGrpCompAngn::addMember(), and nnp::SymGrpCompAngw::addMember().

Here is the caller graph for this function:

◆ getAngleLeft()

double nnp::SymFncBaseCompAng::getAngleLeft ( ) const
inline

Get private angleLeft member variable.

Definition at line 135 of file SymFncBaseCompAng.h.

135{ return angleLeft; }

References angleLeft.

◆ getAngleRight()

double nnp::SymFncBaseCompAng::getAngleRight ( ) const
inline

Get private angleRight member variable.

Definition at line 136 of file SymFncBaseCompAng.h.

136{ return angleRight; }

References angleRight.

◆ calculateRadialPart()

double SymFncBaseCompAng::calculateRadialPart ( double  distance) const
virtual

Calculate (partial) symmetry function value for one given distance.

Parameters
[in]distanceDistance between two atoms.
Returns
\(\left(e^{-\eta r^2} f_c(r)\right)^2\)

Implements nnp::SymFnc.

Definition at line 178 of file SymFncBaseCompAng.cpp.

179{
180 double const& r = distance * convLength;
181
182 return cr.f(r);
183}
double f(double a) const
Compact function .

References nnp::SymFnc::convLength, nnp::SymFncBaseComp::cr, and nnp::CompactFunction::f().

Here is the call graph for this function:

◆ calculateAngularPart()

double SymFncBaseCompAng::calculateAngularPart ( double  angle) const
virtual

Calculate (partial) symmetry function value for one given angle.

Parameters
[in]angleAngle between triplet of atoms (in radians).
Returns
\(1\)

Implements nnp::SymFnc.

Definition at line 185 of file SymFncBaseCompAng.cpp.

186{
187 return ca.f(angle);
188}

References ca, and nnp::CompactFunction::f().

Here is the call graph for this function:

◆ checkRelevantElement()

bool SymFncBaseCompAng::checkRelevantElement ( std::size_t  index) const
virtual

Check whether symmetry function is relevant for given element.

Parameters
[in]indexIndex of given element.
Returns
True if symmetry function is sensitive to given element, false otherwise.

Implements nnp::SymFnc.

Definition at line 190 of file SymFncBaseCompAng.cpp.

191{
192 if (index == e1 || index == e2) return true;
193 else return false;
194}

References e1, e2, and nnp::SymFnc::index.

◆ getCacheIdentifiers()

vector< string > SymFncBaseCompAng::getCacheIdentifiers ( ) const
virtual

Get unique cache identifiers.

Returns
Vector of string identifying the type of cache this symmetry function requires.

Reimplemented from nnp::SymFnc.

Definition at line 197 of file SymFncBaseCompAng.cpp.

198{
199 vector<string> v;
200 string s("");
201
202 s += subtype;
203 s += " ";
204 s += strpr("rl = %16.8E", rl / convLength);
205 s += " ";
206 s += strpr("rc = %16.8E", rc / convLength);
207
208 v.push_back(strpr("%zu f ", e1) + s);
209 v.push_back(strpr("%zu df ", e1) + s);
210 if (e1 != e2) v.push_back(strpr("%zu f ", e2) + s);
211 if (e1 != e2) v.push_back(strpr("%zu df ", e2) + s);
212
213 return v;
214}

References nnp::SymFnc::convLength, e1, e2, nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::strpr(), and nnp::SymFncBaseComp::subtype.

Here is the call graph for this function:

Member Data Documentation

◆ e1

◆ e2

◆ angleLeft

◆ angleRight

◆ angleLeftRadians

double nnp::SymFncBaseCompAng::angleLeftRadians
protected

Left angle boundary in radians.

Definition at line 118 of file SymFncBaseCompAng.h.

Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngw::calculate(), and setParameters().

◆ angleRightRadians

double nnp::SymFncBaseCompAng::angleRightRadians
protected

Right angle boundary in radians.

Definition at line 120 of file SymFncBaseCompAng.h.

Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngw::calculate(), and setParameters().

◆ ca

CompactFunction nnp::SymFncBaseCompAng::ca
protected

Compact function member for angular part.

Definition at line 122 of file SymFncBaseCompAng.h.

Referenced by nnp::SymFncCompAngn::calculate(), nnp::SymFncCompAngw::calculate(), calculateAngularPart(), getCompactAngle(), and setParameters().


The documentation for this class was generated from the following files: