forked from WolfgangLechner/StructureAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparameter.h
More file actions
executable file
·65 lines (54 loc) · 1.25 KB
/
Copy pathparameter.h
File metadata and controls
executable file
·65 lines (54 loc) · 1.25 KB
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
59
60
61
62
63
64
65
#ifndef _PARAMETER_H
#define _PARAMETER_H
#include <iostream>
#include <exception>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
const int NUMBER_OF_PARAMETERS = 200;
const string CREATEFCCSTRING = "CREATEFCC";
const string CREATEBCCSTRING = "CREATEBCC";
const string CREATEHCPSTRING = "CREATEHCP";
const double PI = 3.14159265;
const int OrderParameterHistoSize = 1000;
const double OrderParameterHistoStart = -1.0;
const double OrderParameterHistoStop = 1.0;
const int Q4SIZE = 200;
const int Q6SIZE = 600;
const double Q4FACTOR = 1000.0;
const double Q6FACTOR = 1000.0;
const int SLIQ = 0;
const int SFCC = 1;
const int SBCC = 2;
const int SHCP = 3;
const int SUND = -1;
const int SOBER = 4;
class ExceptionBadLineInParameterFile{
};
struct s_rawParameter
{
string name;
string value;
};
class CParameter {
private:
s_rawParameter rawParameter[NUMBER_OF_PARAMETERS];
public:
CParameter();
virtual ~CParameter();
void readParameter(int);
void checkParameter();
//Number of Particles
int nop;
int baseunit;
int minfrenkel;
//Number of Cells
int noc;
//Boxsize x and y
double boxx, boxy, boxz;
//XYZFile
string xyzFile;
double neighbordistance;
};
#endif