n2p2 - A neural network potential package
pair_hdnnp_external.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#ifdef PAIR_CLASS
18// clang-format off
19PairStyle(hdnnp/external,PairHDNNPExternal);
20// clang-format on
21#else
22
23#ifndef LMP_PAIR_HDNNP_EXTERNAL_H
24#define LMP_PAIR_HDNNP_EXTERNAL_H
25
26#include "pair.h"
27#include "ElementMap.h"
28#include "Structure.h"
29
30namespace LAMMPS_NS {
31
32class PairHDNNPExternal : public Pair {
33
34 public:
35 PairHDNNPExternal(class LAMMPS *);
36 ~PairHDNNPExternal() override;
37 void compute(int, int) override;
38 void settings(int, char **) override;
39 void coeff(int, char **) override;
40 void init_style() override;
41 double init_one(int, int) override;
42
43 protected:
44 virtual void allocate();
45
46 double cflength;
47 double cfenergy;
49 char* directory;
50 char* elements;
51 char* command;
54};
55
56} // namespace LAMMPS_NS
57
58#endif
59#endif
void coeff(int, char **) override
void settings(int, char **) override
double init_one(int, int) override
void compute(int, int) override
Contains element map.
Definition: ElementMap.h:30
Storage for one atomic configuration.
Definition: Structure.h:39