n2p2 - A neural network potential package
Prediction.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 PREDICTION_H
18#define PREDICTION_H
19
20#include "Mode.h"
21#include "Structure.h"
22#include <string> // std::string
23
24namespace nnp
25{
26
27class Prediction : public Mode
28{
29public:
30 Prediction();
31 void readStructureFromFile(std::string const& fileName = "input.data");
32 void setup();
33 void predict();
34
35 std::string fileNameSettings;
36 std::string fileNameScaling;
40};
41
42}
43
44#endif
Base class for all NNP applications.
Definition: Mode.h:87
void readStructureFromFile(std::string const &fileName="input.data")
Definition: Prediction.cpp:48
std::string fileNameSettings
Definition: Prediction.h:35
Structure structure
Definition: Prediction.h:39
std::string formatWeightsFilesShort
Definition: Prediction.h:37
std::string formatWeightsFilesCharge
Definition: Prediction.h:38
std::string fileNameScaling
Definition: Prediction.h:36
Definition: Atom.h:29
Storage for one atomic configuration.
Definition: Structure.h:39