MCPcopy Create free account
hub / github.com/CompPhysVienna/n2p2 / parameterInfo

Method parameterInfo

src/libnnp/SymFncBaseCompAng.cpp:160–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160vector<string> SymFncBaseCompAng::parameterInfo() const
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}
177
178double SymFncBaseCompAng::calculateRadialPart(double distance) const
179{

Callers

nothing calls this directly

Calls 2

strprFunction · 0.85
padFunction · 0.85

Tested by

no test coverage detected