-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.hh
More file actions
27 lines (25 loc) · 787 Bytes
/
Copy pathinput.hh
File metadata and controls
27 lines (25 loc) · 787 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
#include <fstream>
#include <iostream>
#include <string.h>
using namespace std;
class input{
public:
ifstream inFile;
static const int NLIST = 11;
static const int NLIST_digit = 5;
int flag_box;
bool flag_traj= false;
int flag_t_first, flag_t_step, flag_num_times, flag_NRPART, flag_cutOff;
int flag_dump, flag_per[3], flag_normalization, flag_proj, flag_save_3D;
int t_first, t_step, num_times, NRPART;
string dump_path;
int dump_path_size;
double BOX_CUTOFF, CUTOFF;
string *listInput;// {"t_init", "t_step","num_times","NRPART","cut_off","dump_path","periodicity", "normalized_coordinate", "proj_plane","save_3D"};
input(char*);
~input();
void read();
void compare_assign(int caseNr, string val);
void compare_assign(int caseNr, double val);
void checkInput();
};