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 474 by gezelter, Mon Apr 7 21:42:19 2003 UTC vs.
Revision 682 by tim, Tue Aug 12 17:51:33 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 + #include "ZconStamp.hpp"
12  
13 + using namespace std;
14 +
15   class Globals{
16    
17   public:
# Line 17 | Line 21 | class Globals{ (public)
21    
22    int newComponent( event* the_event );
23    int componentAssign( event* the_event );
20  int componentStartIndex( event* the_event );
24    int componentEnd( event* the_event );
25 +
26 +  int newZconstraint( event* the_event );
27 +  int zConstraintAssign( event* the_event );
28 +  int zConstraintEnd( event* the_event );
29    
30    int globalAssign( event* the_event );
31    int globalEnd( event* the_event );
# Line 28 | Line 35 | class Globals{ (public)
35    double getTargetTemp( void )      { return target_temp; }
36    double getTargetPressure( void )  { return target_pressure; }
37    double getQmass( void )           { return q_mass; }
38 <  double getTauRelax( void )        { return tau_relax; }
38 >  double getTauThermostat( void )   { return tau_thermostat; }
39 >  double getTauBarostat( void )     { return tau_barostat; }
40    char*  getEnsemble( void )        { return ensemble; }
41    double getDt( void )              { return dt; }
42    double getRunTime( void )         { return run_time; }
43    
44 +
45 +  int    getNzConstraints( void )   { return n_zConstraints; }
46    char*  getInitialConfig( void )   { return initial_config; }
47    char*  getFinalConfig( void )     { return final_config; }
48    int    getNMol( void )            { return n_mol; }
# Line 51 | Line 61 | class Globals{ (public)
61    int    getPBC( void )             { return usePBC;}
62    int    getUseRF( void )           { return useRF;}
63    char*  getMixingRule( void)       { return mixingRule;}
64 +  double getZconsTime(void)         { return zcons_time;}
65 +  double getZconsTol(void)    { return zcons_tol;}
66    
67    short int haveInitialConfig( void ) { return have_initial_config; }
68    short int haveFinalConfig( void )   { return have_final_config; }
# Line 69 | Line 81 | class Globals{ (public)
81    short int haveTempSet( void )       { return have_tempSet; }
82    short int haveTargetPressure( void ){ return have_target_pressure; }
83    short int haveQmass( void )         { return have_q_mass; }
84 <  short int haveTauRelax( void )      { return have_tau_relax;}
84 >  short int haveTauThermostat( void ) { return have_tau_thermostat;}
85 >  short int haveTauBarostat( void )   { return have_tau_barostat;}
86 >  short int haveZconstraintTime(void) { return have_zcons_time; }
87 >  short int haveZconstraints( void )  { return have_zConstraints;}
88 >  short int haveZconsTol(void) {return have_zcons_tol;}
89    
90    /* other accessors */
91    Component** getComponents( void ) { return components; }
92 +  ZconStamp** getZconStamp( void ) { return zConstraints; }
93    
94   private:
95    
# Line 86 | Line 103 | class Globals{ (public)
103    
104    Component* current_component;
105    Component** components; // the array of components
106 +
107 +  ZconStamp* current_zConstraint;
108 +  ZconStamp** zConstraints; // the array of zConstraints
109 +
110    char force_field[100];
111    int n_components;
112 +  int n_zConstraints;
113    double target_temp;
114    double target_pressure;
115    char ensemble[100];
# Line 110 | Line 132 | class Globals{ (public)
132    int usePBC;
133    int useRF;
134    double q_mass;
135 <  double tau_relax;
135 >  double tau_thermostat;
136 >  double tau_barostat;
137 >  double zcons_time;    
138 >  double zcons_tol;
139  
140    //required arguments
141    short int have_force_field, have_n_components, have_target_temp;
# Line 121 | Line 146 | class Globals{ (public)
146    short int have_density, have_box, have_box_x, have_box_y, have_box_z;
147    short int have_sample_time, have_status_time, have_ecr, have_dielectric;
148    short int have_tempSet, have_thermal_time, have_est, have_q_mass;
149 <  short int have_tau_relax;
150 <  
149 >  short int have_tau_thermostat, have_tau_barostat;
150 >  short int have_zcons_time, have_zConstraints, have_n_zConstraints, have_zcons_tol;  
151  
152   };
153  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines