n2p2 - A neural network potential package
SymGrpBaseComp.cpp
Go to the documentation of this file.
1// n2p2 - A neural network potential package
2// Copyright (C) 2018 Andreas Singraber (University of Vienna)
3// Copyright (C) 2020 Martin P. Bircher
4//
5// This program is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program. If not, see <https://www.gnu.org/licenses/>.
17
18#include "SymGrpBaseComp.h"
19#include "utility.h"
20
21using namespace std;
22using namespace nnp;
23
24SymGrpBaseComp::SymGrpBaseComp(size_t type, ElementMap const& elementMap) :
25 SymGrp(type, elementMap),
26 rmin(0.0),
27 rmax(0.0)
28{
29 parametersCommon.insert("rs/rl");
30 parametersCommon.insert("rc");
31
32 parametersMember.insert("subtype");
33 parametersMember.insert("rs/rl");
34 parametersMember.insert("rc");
35}
Contains element map.
Definition: ElementMap.h:30
std::set< std::string > parametersCommon
Set of common parameters IDs.
Definition: SymGrp.h:120
std::set< std::string > parametersMember
Set of common parameters IDs.
Definition: SymGrp.h:122
Definition: Atom.h:28