-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpair_quart_cut.h
57 lines (46 loc) · 1.74 KB
/
pair_quart_cut.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
LAMMPS development team: [email protected]
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
certain rights in this software. This software is distributed under
the GNU General Public License.
See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */
#ifdef PAIR_CLASS
// clang-format off
PairStyle(quart/cut,PairQUARTCut);
// clang-format on
#else
#ifndef LMP_PAIR_QUART_CUT_H
#define LMP_PAIR_QUART_CUT_H
#include "pair.h"
namespace LAMMPS_NS {
class PairQUARTCut : public Pair {
public:
PairQUARTCut(class LAMMPS *);
~PairQUARTCut() override;
void compute(int, int) override;
void settings(int, char **) override;
void coeff(int, char **) override;
void init_style() override;
double init_one(int, int) override;
void write_restart(FILE *) override;
void read_restart(FILE *) override;
void write_restart_settings(FILE *) override;
void read_restart_settings(FILE *) override;
void write_data(FILE *) override;
void write_data_all(FILE *) override;
void *extract(const char *, int &) override;
double single(int, int, int, int, double, double, double, double &) override;
protected:
double cut_global;
double **cut;
double **epsilon, **sigma, **prefactor0, **prefactor1, **prefactor2;
double **quart0, **quart1, **quart2, **quart3, **quart4, **quart5, **quart6, **offset;
virtual void allocate();
};
} // namespace LAMMPS_NS
#endif
#endif