forked from WolfgangLechner/StructureAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmolecule.h
More file actions
executable file
·45 lines (38 loc) · 942 Bytes
/
molecule.h
File metadata and controls
executable file
·45 lines (38 loc) · 942 Bytes
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
#ifndef _MOLECULE_H
#define _MOLECULE_H
#include <iostream>
using namespace std;
const int MAXNUMBEROFNEIGHBORS = 100;
class CMolecule {
private:
//The position of the particle
public:
CMolecule();
virtual ~CMolecule();
double posx,posy,posz;
double vx,vy,vz;
double fx,fy,fz;
double rfx,rfy,rfz;
double potential;
double sr[3];
double sv[3];
void set_position(double,double,double);
double get_posx();
double get_posy();
double get_posz();
int neighbors[MAXNUMBEROFNEIGHBORS];
double neighbordist[MAXNUMBEROFNEIGHBORS];
int n_neighbors;
int cell;
double realQ4[9],imgQ4[9];
double realQ6[13],imgQ6[13];
double arealQ4[9],aimgQ4[9];
double arealQ6[13],aimgQ6[13];
double Q6,Q4,W4,W6,AQ6,AQ4,AW4,AW6;
double frenkelnumber;
//belongs to which cluster
int belongsto;
int issolid;
int structure;
};
#endif