-
Notifications
You must be signed in to change notification settings - Fork 0
/
pair_excited_map.h
58 lines (44 loc) · 1.56 KB
/
pair_excited_map.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
58
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, [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.
//Written by Steven E Strong, based on pair_coul_cut.cpp
------------------------------------------------------------------------- */
#ifdef PAIR_CLASS
PairStyle(excited/map,PairExcitedMap)
#else
#ifndef LMP_PAIR_EXCITED_MAP_H
#define LMP_PAIR_EXCITED_MAP_H
#include "pair.h"
namespace LAMMPS_NS {
class PairExcitedMap : public Pair {
public:
PairExcitedMap(class LAMMPS *);
virtual ~PairExcitedMap();
virtual void compute(int, int);
virtual void settings(int, char **);
void coeff(int, char **);
void init_style();
double init_one(int, int);
void write_restart(FILE *);
void read_restart(FILE *);
void *extract(const char *, int &);
virtual void write_restart_settings(FILE *) {};
virtual void read_restart_settings(FILE *) {};
protected:
double **fI;
int *indF;
double cut_global,cut2;
tagint tagO,tagH,tagH0; //ids of excited chromophore; H0=non-excited H
int typeO;
double mapA,mapB; //coefficients of map energy (a*E + b*E^2)
virtual void allocate();
};
}
#endif
#endif