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

Method parameterInfo

src/libnnp/SymFncBaseComp.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23using namespace nnp;
24
25vector<string> SymFncBaseComp::parameterInfo() const
26{
27 vector<string> v = SymFnc::parameterInfo();
28 string s;
29 size_t w = sfinfoWidth;
30
31 s = "subtype";
32 v.push_back(strpr((pad(s, w) + "%s" ).c_str(), subtype.c_str()));
33 s = "rl";
34 v.push_back(strpr((pad(s, w) + "%14.8E").c_str(), rl / convLength));
35
36 return v;
37}
38
39void SymFncBaseComp::setCompactFunction(string subtype)
40{

Callers

nothing calls this directly

Calls 2

strprFunction · 0.85
padFunction · 0.85

Tested by

no test coverage detected