n2p2 - A neural network potential package
SymGrpBaseCutoff.h
Go to the documentation of this file.
1// n2p2 - A neural network potential package
2// Copyright (C) 2018 Andreas Singraber (University of Vienna)
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program. If not, see <https://www.gnu.org/licenses/>.
16
17#ifndef SYMGRPBASECUTOFF_H
18#define SYMGRPBASECUTOFF_H
19
20#include "SymGrp.h"
21#include "CutoffFunction.h"
22#include <cstddef> // std::size_t
23#include <string> // std::string
24#include <vector> // std::vector
25
26namespace nnp
27{
28
30{
31public:
33 double getRc() const;
34
35protected:
37 double rc;
41 std::string subtype;
46
52 SymGrpBaseCutoff(std::size_t type, ElementMap const& elementMap);
53};
54
55}
56
57#endif
CutoffType
List of available cutoff function types.
Contains element map.
Definition: ElementMap.h:30
double cutoffAlpha
Cutoff function parameter (common feature).
std::string subtype
Subtype string (specifies cutoff type) (common feature).
double getRc() const
Get private rc member variable.
CutoffFunction fc
Cutoff function used by this symmetry function group.
double rc
Cutoff radius (common feature).
CutoffFunction::CutoffType cutoffType
Cutoff type used by this symmetry function group (common feature).
SymGrpBaseCutoff(std::size_t type, ElementMap const &elementMap)
Constructor, sets type.
std::size_t type
Symmetry function type.
Definition: SymGrp.h:106
ElementMap elementMap
Copy of element map.
Definition: SymGrp.h:108
Definition: Atom.h:28