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

Weighted radial symmetry function with compact support (type 23) More...

#include <SymFncCompRadWeighted.h>

Inheritance diagram for nnp::SymFncCompRadWeighted:
Collaboration diagram for nnp::SymFncCompRadWeighted:

Public Member Functions

 SymFncCompRadWeighted (ElementMap const &elementMap)
 Constructor, sets type = 23. More...
 
virtual bool operator== (SymFnc const &rhs) const
 Overload == operator. More...
 
virtual bool operator< (SymFnc const &rhs) const
 Overload < operator. More...
 
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...
 
virtual void calculate (Atom &atom, bool const derivatives) const
 Calculate symmetry function for one atom. More...
 
void getCompactOnly (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...
 
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...
 

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
 
- 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...
 
- 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...
 
- 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...
 
- 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

Weighted radial symmetry function with compact support (type 23)

\[ G^{23}_i = \sum_{\substack{j \neq i}} Z_j C(r_{ij}, r_l, r_c), \]

where \(C(x, x_\text{low}, x_\text{high})\) is a function with compact support \(\left[x_\text{low}, x_\text{high}\right]\). \(Z_j\) is defined as the atomic number of the neighbor atom \(j\).

Parameter string:

<element-central> 23 <rlow> <rcutoff> <subtype>
std::string subtype
Subtype string (specifies e.g. polynom type).

where

  • <element-central> .... element symbol of central atom
  • <rlow> ................ low radius boundary \(r_{l}\)
  • <rcutoff> ............. high radius boundary \(r_{c}\)
  • <subtype> ............ compact function specifier

See the description of SymFncBaseComp::setCompactFunction() for possible values of the <subtype> argument.

Definition at line 56 of file SymFncCompRadWeighted.h.

Constructor & Destructor Documentation

◆ SymFncCompRadWeighted()

SymFncCompRadWeighted::SymFncCompRadWeighted ( ElementMap const &  elementMap)

Constructor, sets type = 23.

Definition at line 31 of file SymFncCompRadWeighted.cpp.

31 :
33{
34 minNeighbors = 1;
35}
SymFncBaseComp(std::size_t type, ElementMap const &)
Constructor, initializes type.
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.

Member Function Documentation

◆ operator==()

bool SymFncCompRadWeighted::operator== ( SymFnc const &  rhs) const
virtual

Overload == operator.

Implements nnp::SymFnc.

Definition at line 37 of file SymFncCompRadWeighted.cpp.

38{
39 if (ec != rhs.getEc() ) return false;
40 if (type != rhs.getType()) return false;
42 = dynamic_cast<SymFncCompRadWeighted const&>(rhs);
43 if (subtype != c.getSubtype()) return false;
44 if (rc != c.rc ) return false;
45 if (rl != c.rl ) return false;
46 return true;
47}
std::string getSubtype() const
Get private subtype member variable.
double rl
Lower bound of compact function, .
Weighted radial symmetry function with compact support (type 23)
std::size_t type
Symmetry function type.
Definition: SymFnc.h:268
double rc
Cutoff radius .
Definition: SymFnc.h:292
std::size_t ec
Element index of center atom.
Definition: SymFnc.h:276

References nnp::SymFnc::ec, nnp::SymFnc::getEc(), nnp::SymFncBaseComp::getSubtype(), nnp::SymFnc::getType(), nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::SymFncBaseComp::subtype, and nnp::SymFnc::type.

Here is the call graph for this function:

◆ operator<()

bool SymFncCompRadWeighted::operator< ( SymFnc const &  rhs) const
virtual

Overload < operator.

Implements nnp::SymFnc.

Definition at line 49 of file SymFncCompRadWeighted.cpp.

50{
51 if (ec < rhs.getEc() ) return true;
52 else if (ec > rhs.getEc() ) return false;
53 if (type < rhs.getType()) return true;
54 else if (type > rhs.getType()) return false;
56 = dynamic_cast<SymFncCompRadWeighted const&>(rhs);
57 if (subtype < c.getSubtype()) return true;
58 else if (subtype > c.getSubtype()) return false;
59 if (rc < c.rc ) return true;
60 else if (rc > c.rc ) return false;
61 if (rl < c.rl ) return true;
62 else if (rl > c.rl ) return false;
63 return false;
64}

References nnp::SymFnc::ec, nnp::SymFnc::getEc(), nnp::SymFncBaseComp::getSubtype(), nnp::SymFnc::getType(), nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::SymFncBaseComp::subtype, and nnp::SymFnc::type.

Here is the call graph for this function:

◆ setParameters()

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

Set symmetry function parameters.

Parameters
[in]parameterStringString containing weighted radial symmetry function parameters.

Implements nnp::SymFnc.

Definition at line 66 of file SymFncCompRadWeighted.cpp.

67{
68 vector<string> splitLine = split(reduce(parameterString));
69
70 if (type != (size_t)atoi(splitLine.at(1).c_str()))
71 {
72 throw runtime_error("ERROR: Incorrect symmetry function type.\n");
73 }
74
75 ec = elementMap[splitLine.at(0)];
76 rl = atof(splitLine.at(2).c_str());
77 rc = atof(splitLine.at(3).c_str());
78 subtype = splitLine.at(4);
79
80 if (rl > rc)
81 {
82 throw runtime_error("ERROR: Lower radial boundary >= upper "
83 "radial boundary.\n");
84 }
85 //if (rl < 0.0 && abs(rl + rc) > numeric_limits<double>::epsilon())
86 //{
87 // throw runtime_error("ERROR: Radial function not symmetric "
88 // "w.r.t. origin.\n");
89 //}
90
93
94 return;
95}
void setLeftRight(double left, double right)
Set left and right boundary.
CompactFunction cr
Compact function for radial part.
void setCompactFunction(std::string subtype)
Set radial compact function.
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 nnp::SymFncBaseComp::cr, nnp::SymFnc::ec, nnp::SymFnc::elementMap, nnp::SymFnc::rc, nnp::reduce(), nnp::SymFncBaseComp::rl, nnp::SymFncBaseComp::setCompactFunction(), nnp::CompactFunction::setLeftRight(), nnp::split(), nnp::SymFncBaseComp::subtype, and nnp::SymFnc::type.

Here is the call graph for this function:

◆ changeLengthUnit()

void SymFncCompRadWeighted::changeLengthUnit ( double  convLength)
virtual

Change length unit.

Parameters
[in]convLengthMultiplicative length unit conversion factor.

Implements nnp::SymFnc.

Definition at line 97 of file SymFncCompRadWeighted.cpp.

98{
99 this->convLength = convLength;
100 rl *= convLength;
101 rc *= convLength;
102
104
105 return;
106}
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 SymFncCompRadWeighted::getSettingsLine ( ) const
virtual

Get settings file line from currently set parameters.

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

Implements nnp::SymFnc.

Definition at line 108 of file SymFncCompRadWeighted.cpp.

109{
110 string s = strpr("symfunction_short %2s %2zu %16.8E %16.8E %s\n",
111 elementMap[ec].c_str(),
112 type,
113 rl / convLength,
114 rc / convLength,
115 subtype.c_str());
116
117 return s;
118}
string strpr(const char *format,...)
String version of printf function.
Definition: utility.cpp:90

References nnp::SymFnc::convLength, 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:

◆ calculate()

void SymFncCompRadWeighted::calculate ( Atom atom,
bool const  derivatives 
) const
virtual

Calculate symmetry function for one atom.

Parameters
[in,out]atomAtom for which the symmetry function is caluclated.
[in]derivativesIf also symmetry function derivatives will be calculated and saved.

Implements nnp::SymFnc.

Definition at line 120 of file SymFncCompRadWeighted.cpp.

121{
122 double result = 0.0;
123
124 for (size_t j = 0; j < atom.numNeighbors; ++j)
125 {
126 Atom::Neighbor& n = atom.neighbors[j];
127 if (n.d > rl && n.d < rc)
128 {
129 // Energy calculation.
130 size_t const ne = n.element;
131 double const rij = n.d;
132
133 double rad;
134 double drad;
135 double r = rij;
136#ifndef N2P2_NO_SF_CACHE
137 if (cacheIndices[ne].size() == 0) cr.fdf(r, rad, drad);
138 else
139 {
140 double& crad = n.cache[cacheIndices[ne][0]];
141 double& cdrad = n.cache[cacheIndices[ne][1]];
142 if (crad < 0) cr.fdf(r, crad, cdrad);
143 rad = crad;
144 drad = cdrad;
145 }
146#else
147 cr.fdf(r, rad, drad);
148#endif
149 result += rad * elementMap.atomicNumber(ne);
150
151 // Force calculation.
152 if (!derivatives) continue;
153 double const p1 = scalingFactor * elementMap.atomicNumber(ne)
154 * drad / rij;
155 Vec3D dij = p1 * n.dr;
156 // Save force contributions in Atom storage.
157 atom.dGdr[index] += dij;
158#ifndef N2P2_FULL_SFD_MEMORY
159 n.dGdr[indexPerElement[ne]] -= dij;
160#else
161 n.dGdr[index] -= dij;
162#endif
163 }
164 }
165
166 atom.G[index] = scale(result);
167
168 return;
169}
void fdf(double a, double &fa, double &dfa) const
Calculate compact function and derivative at once.
std::size_t atomicNumber(std::size_t index) const
Get atomic number from element index.
Definition: ElementMap.h:145
std::size_t index
Symmetry function index (per element).
Definition: SymFnc.h:272
double scalingFactor
Scaling factor.
Definition: SymFnc.h:294
std::vector< std::vector< std::size_t > > cacheIndices
Cache indices for each element.
Definition: SymFnc.h:306
double scale(double value) const
Apply symmetry function scaling and/or centering.
Definition: SymFnc.cpp:169
std::vector< std::size_t > indexPerElement
Per-element index for derivative memory in Atom::Neighbor::dGdr arrays.
Definition: SymFnc.h:302
Struct to store information on neighbor atoms.
Definition: Atom.h:36
std::vector< double > cache
Symmetry function cache (e.g. for cutoffs, compact functions).
Definition: Atom.h:49
std::size_t element
Element index of neighbor atom.
Definition: Atom.h:42
double d
Distance to neighbor atom.
Definition: Atom.h:44
Vec3D dr
Distance vector to neighbor atom.
Definition: Atom.h:46
std::vector< Vec3D > dGdr
Derivatives of symmetry functions with respect to neighbor coordinates.
Definition: Atom.h:60
std::vector< Neighbor > neighbors
Neighbor array (maximum number defined in macros.h.
Definition: Atom.h:170
std::vector< Vec3D > dGdr
Derivative of symmetry functions with respect to this atom's coordinates.
Definition: Atom.h:161
std::vector< double > G
Symmetry function values.
Definition: Atom.h:146
std::size_t numNeighbors
Total number of neighbors.
Definition: Atom.h:109
Vector in 3 dimensional real space.
Definition: Vec3D.h:30

References nnp::ElementMap::atomicNumber(), nnp::Atom::Neighbor::cache, nnp::SymFnc::cacheIndices, nnp::SymFncBaseComp::cr, nnp::Atom::Neighbor::d, nnp::Atom::Neighbor::dGdr, nnp::Atom::dGdr, nnp::Atom::Neighbor::dr, nnp::Atom::Neighbor::element, nnp::SymFnc::elementMap, nnp::CompactFunction::fdf(), nnp::Atom::G, nnp::SymFnc::index, nnp::SymFnc::indexPerElement, nnp::Atom::neighbors, nnp::Atom::numNeighbors, nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::SymFnc::scale(), and nnp::SymFnc::scalingFactor.

Here is the call graph for this function:

◆ getCompactOnly()

void nnp::SymFncCompRadWeighted::getCompactOnly ( double const  x,
double &  fx,
double &  dfx 
) const
inline

Definition at line 140 of file SymFncCompRadWeighted.h.

143{
144 cr.fdf(x, fx, dfx);
145 return;
146}

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

Referenced by nnp::SymGrpCompRadWeighted::calculate().

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

◆ parameterLine()

string SymFncCompRadWeighted::parameterLine ( ) const
virtual

Give symmetry function parameters in one line.

Returns
String containing symmetry function parameter values.

Implements nnp::SymFnc.

Definition at line 171 of file SymFncCompRadWeighted.cpp.

172{
173 return strpr(getPrintFormat().c_str(),
174 index + 1,
175 elementMap[ec].c_str(),
176 type,
177 subtype.c_str(),
178 rl / convLength,
179 rc / convLength,
180 lineNumber + 1);
181}
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 nnp::SymFnc::convLength, 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 > SymFncCompRadWeighted::parameterInfo ( ) const
virtual

Get description with parameter names and values.

Returns
Vector of parameter description strings.

Reimplemented from nnp::SymFncBaseComp.

Definition at line 183 of file SymFncCompRadWeighted.cpp.

184{
185 vector<string> v = SymFncBaseComp::parameterInfo();
186
187 return v;
188}
virtual std::vector< std::string > parameterInfo() const
Get description with parameter names and values.

References nnp::SymFncBaseComp::parameterInfo().

Here is the call graph for this function:

◆ calculateRadialPart()

double SymFncCompRadWeighted::calculateRadialPart ( double  distance) const
virtual

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

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

Implements nnp::SymFnc.

Definition at line 190 of file SymFncCompRadWeighted.cpp.

191{
192 double const& r = distance * convLength;
193
194 return cr.f(r);
195}
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 SymFncCompRadWeighted::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 197 of file SymFncCompRadWeighted.cpp.

198{
199 return 1.0;
200}

◆ checkRelevantElement()

bool SymFncCompRadWeighted::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 202 of file SymFncCompRadWeighted.cpp.

203{
204 return true;
205}

◆ getCacheIdentifiers()

vector< string > SymFncCompRadWeighted::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 208 of file SymFncCompRadWeighted.cpp.

209{
210 vector<string> v;
211 string s("");
212
213 s += subtype;
214 s += " ";
215 s += strpr("rl = %16.8E", rl / convLength);
216 s += " ";
217 s += strpr("rc = %16.8E", rc / convLength);
218
219 for (size_t i = 0; i < elementMap.size(); ++i)
220 {
221 v.push_back(strpr("%zu f ", i) + s);
222 v.push_back(strpr("%zu df ", i) + s);
223 }
224
225 return v;
226}
std::size_t size() const
Get element map size.
Definition: ElementMap.h:140

References nnp::SymFnc::convLength, nnp::SymFnc::elementMap, nnp::SymFnc::rc, nnp::SymFncBaseComp::rl, nnp::ElementMap::size(), nnp::strpr(), and nnp::SymFncBaseComp::subtype.

Here is the call graph for this function:

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