ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/Globals.hpp
(Generate patch)

Comparing trunk/OOPSE/libBASS/Globals.hpp (file contents):
Revision 481 by gezelter, Tue Apr 8 21:35:49 2003 UTC vs.
Revision 659 by tim, Thu Jul 31 15:38:08 2003 UTC

# Line 2 | Line 2
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:
# Line 52 | Line 55 | class Globals{ (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; }
# Line 72 | Line 77 | class Globals{ (public)
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; }
# Line 114 | Line 122 | class Globals{ (public)
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;
# Line 125 | Line 135 | class Globals{ (public)
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines