n2p2 - A neural network potential package
SymGrpBaseCutoff.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
//
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
#include "
SymGrpBaseCutoff.h
"
18
#include "
utility.h
"
19
20
using namespace
std;
21
using namespace
nnp
;
22
23
SymGrpBaseCutoff::SymGrpBaseCutoff(
size_t
type,
ElementMap
const
& elementMap) :
24
SymGrp
(type, elementMap),
25
rc (0.0 ),
26
cutoffAlpha(0.0 ),
27
subtype (
"ct0"
),
28
cutoffType (
CutoffFunction
::CT_HARD)
29
{
30
// Add standard common parameter IDs to set.
31
parametersCommon
.insert(
"subtype"
);
32
parametersCommon
.insert(
"rc"
);
33
parametersCommon
.insert(
"alpha"
);
34
}
SymGrpBaseCutoff.h
nnp::CutoffFunction
Definition:
CutoffFunction.h:26
nnp::ElementMap
Contains element map.
Definition:
ElementMap.h:30
nnp::SymGrp
Definition:
SymGrp.h:33
nnp::SymGrp::parametersCommon
std::set< std::string > parametersCommon
Set of common parameters IDs.
Definition:
SymGrp.h:120
nnp
Definition:
Atom.h:29
utility.h
libnnp
SymGrpBaseCutoff.cpp
Generated on Sun Nov 24 2024 23:31:48 for n2p2 - A neural network potential package by
1.9.4