2 |
|
#define __GLOBALS_H__ |
3 |
|
|
4 |
|
#include <cstdlib> |
5 |
+ |
#include <vector> |
6 |
|
|
7 |
|
#include "BASS_interface.h" |
8 |
|
#include "Component.hpp" |
9 |
|
#include "LinkedCommand.hpp" |
10 |
|
#include "MakeStamps.hpp" |
11 |
|
|
12 |
+ |
using namespace std; |
13 |
+ |
|
14 |
|
class Globals{ |
15 |
|
|
16 |
|
public: |
55 |
|
int getPBC( void ) { return usePBC;} |
56 |
|
int getUseRF( void ) { return useRF;} |
57 |
|
char* getMixingRule( void) { return mixingRule;} |
58 |
+ |
double getZConsTime(void) { return zcons_time;} |
59 |
+ |
vector<int> getIndexOfAllZConsMols(void){ return zconsMolIndex;} |
60 |
|
|
61 |
|
short int haveInitialConfig( void ) { return have_initial_config; } |
62 |
|
short int haveFinalConfig( void ) { return have_final_config; } |
77 |
|
short int haveQmass( void ) { return have_q_mass; } |
78 |
|
short int haveTauThermostat( void ) { return have_tau_thermostat;} |
79 |
|
short int haveTauBarostat( void ) { return have_tau_barostat;} |
80 |
+ |
short int haveZConsTime(void) { return have_zcons_time;} |
81 |
+ |
short int haveIndexOfAllZConsMols() { return have_index_of_all_zcons_mols;} |
82 |
+ |
|
83 |
|
|
84 |
|
/* other accessors */ |
85 |
|
Component** getComponents( void ) { return components; } |
122 |
|
double q_mass; |
123 |
|
double tau_thermostat; |
124 |
|
double tau_barostat; |
125 |
+ |
double zcons_time; |
126 |
+ |
vector<int> zconsMolIndex; |
127 |
|
|
128 |
|
//required arguments |
129 |
|
short int have_force_field, have_n_components, have_target_temp; |
135 |
|
short int have_sample_time, have_status_time, have_ecr, have_dielectric; |
136 |
|
short int have_tempSet, have_thermal_time, have_est, have_q_mass; |
137 |
|
short int have_tau_thermostat, have_tau_barostat; |
138 |
< |
|
138 |
> |
short int have_zcons_time, have_index_of_all_zcons_mols; |
139 |
|
|
140 |
|
}; |
141 |
|
|