1 |
|
#ifndef __SYSBUILD_H__ |
2 |
|
#define __SYSBUILD_H__ |
3 |
|
|
4 |
+ |
#include "MoleculeStamp.hpp" |
5 |
+ |
|
6 |
+ |
#define STR_LENGTH 500 |
7 |
+ |
#define RAND_SEED 1337 |
8 |
+ |
|
9 |
|
typedef struct{ |
10 |
|
char* in_name; |
11 |
|
char* out_prefix; |
13 |
|
} sysBuildInfo; |
14 |
|
|
15 |
|
typedef struct{ |
16 |
< |
char name[200]; |
17 |
< |
int nMol; |
18 |
< |
bwMolLinked* next; |
14 |
< |
} bwMolLinked; |
16 |
> |
char name[STR_LENGTH]; |
17 |
> |
includeLinked* next; |
18 |
> |
} includeLinked; |
19 |
|
|
20 |
|
typedef struct{ |
21 |
< |
char forceField[200]; |
22 |
< |
char ensemble[100]; |
21 |
> |
|
22 |
> |
includeLinked* includes; |
23 |
> |
char* outPrefix; |
24 |
> |
|
25 |
> |
char forceField[STR_LENGTH]; |
26 |
> |
char ensemble[STR_LENGTH]; |
27 |
|
double targetTemp; |
28 |
|
double dt; |
29 |
|
double runTime; |
30 |
+ |
double boxX, boxY, boxZ; |
31 |
|
int nComponents; |
32 |
< |
bwMolLinked* components; |
33 |
< |
|
32 |
> |
int totNmol; |
33 |
> |
int* componentsNmol; |
34 |
> |
|
35 |
> |
MoleculeStamp** compStamps; |
36 |
> |
|
37 |
|
int havePressure; |
38 |
|
int haveTauBarrostat; |
39 |
< |
int haveTauTemp; |
39 |
> |
int haveTauThermostat; |
40 |
|
int haveQmass; |
41 |
|
|
42 |
|
double targetPressure; |
43 |
|
double tauBarrostat; |
44 |
< |
double tauTemp; |
44 |
> |
double tauThermostat; |
45 |
|
double Qmass; |
46 |
|
|
47 |
< |
} bassWriteInfo; |
47 |
> |
} bassInfo; |
48 |
|
|
49 |
|
|
50 |
< |
extern void writeBass( char* out_prefix, bassWriteInfo &bwInfo ); |
50 |
> |
extern void writeBass( void ); |
51 |
|
|
52 |
+ |
extern bassInfo bsInfo; |
53 |
|
|
54 |
|
#endif // __sysbuild_h__ |