| 1 | < | #ifndef __GLOBALS_H__ | 
| 2 | < | #define __GLOBALS_H__ | 
| 1 | > | /* | 
| 2 | > | * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. | 
| 3 | > | * | 
| 4 | > | * The University of Notre Dame grants you ("Licensee") a | 
| 5 | > | * non-exclusive, royalty free, license to use, modify and | 
| 6 | > | * redistribute this software in source and binary code form, provided | 
| 7 | > | * that the following conditions are met: | 
| 8 | > | * | 
| 9 | > | * 1. Acknowledgement of the program authors must be made in any | 
| 10 | > | *    publication of scientific results based in part on use of the | 
| 11 | > | *    program.  An acceptable form of acknowledgement is citation of | 
| 12 | > | *    the article in which the program was described (Matthew | 
| 13 | > | *    A. Meineke, Charles F. Vardeman II, Teng Lin, Christopher | 
| 14 | > | *    J. Fennell and J. Daniel Gezelter, "OOPSE: An Object-Oriented | 
| 15 | > | *    Parallel Simulation Engine for Molecular Dynamics," | 
| 16 | > | *    J. Comput. Chem. 26, pp. 252-271 (2005)) | 
| 17 | > | * | 
| 18 | > | * 2. Redistributions of source code must retain the above copyright | 
| 19 | > | *    notice, this list of conditions and the following disclaimer. | 
| 20 | > | * | 
| 21 | > | * 3. Redistributions in binary form must reproduce the above copyright | 
| 22 | > | *    notice, this list of conditions and the following disclaimer in the | 
| 23 | > | *    documentation and/or other materials provided with the | 
| 24 | > | *    distribution. | 
| 25 | > | * | 
| 26 | > | * This software is provided "AS IS," without a warranty of any | 
| 27 | > | * kind. All express or implied conditions, representations and | 
| 28 | > | * warranties, including any implied warranty of merchantability, | 
| 29 | > | * fitness for a particular purpose or non-infringement, are hereby | 
| 30 | > | * excluded.  The University of Notre Dame and its licensors shall not | 
| 31 | > | * be liable for any damages suffered by licensee as a result of | 
| 32 | > | * using, modifying or distributing the software or its | 
| 33 | > | * derivatives. In no event will the University of Notre Dame or its | 
| 34 | > | * licensors be liable for any lost revenue, profit or data, or for | 
| 35 | > | * direct, indirect, special, consequential, incidental or punitive | 
| 36 | > | * damages, however caused and regardless of the theory of liability, | 
| 37 | > | * arising out of the use of or inability to use software, even if the | 
| 38 | > | * University of Notre Dame has been advised of the possibility of | 
| 39 | > | * such damages. | 
| 40 | > | */ | 
| 41 | > |  | 
| 42 | > | #ifndef IO_GLOBALS_HPP | 
| 43 | > | #define IO_GLOBALS_HPP | 
| 44 |  |  | 
| 45 |  | #include <iostream> | 
| 46 |  |  | 
| 47 |  | #include <stdlib.h> | 
| 48 |  | #include <vector> | 
| 49 | + | #include <string> | 
| 50 | + | #include <map> | 
| 51 |  |  | 
| 52 | < | #include "BASS_interface.h" | 
| 53 | < | #include "Component.hpp" | 
| 54 | < | #include "LinkedCommand.hpp" | 
| 55 | < | #include "MakeStamps.hpp" | 
| 13 | < | #include "ZconStamp.hpp" | 
| 52 | > | #include "types/Component.hpp" | 
| 53 | > | #include "types/ZconsStamp.hpp" | 
| 54 | > | #include "types/MoleculeStamp.hpp" | 
| 55 | > | #include "utils/ParameterManager.hpp" | 
| 56 |  |  | 
| 57 | < | using namespace std; | 
| 57 | > | namespace oopse { | 
| 58 | > | class Globals : public DataHolder { | 
| 59 | > | public: | 
| 60 | > | typedef std::pair<int, int> intPair; | 
| 61 |  |  | 
| 62 | < | class Globals{ | 
| 63 | < |  | 
| 64 | < | public: | 
| 65 | < |  | 
| 66 | < | Globals(); | 
| 67 | < | ~Globals(); | 
| 68 | < |  | 
| 69 | < | void initalize(); | 
| 70 | < |  | 
| 71 | < | int newComponent( event* the_event ); | 
| 72 | < | int componentAssign( event* the_event ); | 
| 73 | < | int componentEnd( event* the_event ); | 
| 74 | < |  | 
| 75 | < | int newZconstraint( event* the_event ); | 
| 76 | < | int zConstraintAssign( event* the_event ); | 
| 77 | < | int zConstraintEnd( event* the_event ); | 
| 78 | < |  | 
| 79 | < | int globalAssign( event* the_event ); | 
| 80 | < | int globalEnd( event* the_event ); | 
| 81 | < |  | 
| 82 | < | char*  getForceField( void )      { return force_field; } | 
| 83 | < | int    getNComponents( void )     { return n_components; } | 
| 84 | < | double getTargetTemp( void )      { return target_temp; } | 
| 85 | < | double getTargetPressure( void )  { return target_pressure; } | 
| 86 | < | double getQmass( void )           { return q_mass; } | 
| 87 | < | double getTauThermostat( void )   { return tau_thermostat; } | 
| 88 | < | double getTauBarostat( void )     { return tau_barostat; } | 
| 89 | < | char*  getEnsemble( void )        { return ensemble; } | 
| 90 | < | double getDt( void )              { return dt; } | 
| 91 | < | double getRunTime( void )         { return run_time; } | 
| 92 | < |  | 
| 93 | < | int    getNzConstraints( void )   { return n_zConstraints; } | 
| 94 | < | char*  getInitialConfig( void )   { return initial_config; } | 
| 95 | < | char*  getFinalConfig( void )     { return final_config; } | 
| 96 | < | int    getNMol( void )            { return n_mol; } | 
| 97 | < | double getDensity( void )         { return density; } | 
| 98 | < | double getBox( void )             { return box; } | 
| 99 | < | double getBoxX( void )            { return box_x; } | 
| 100 | < | double getBoxY( void )            { return box_y; } | 
| 101 | < | double getBoxZ( void )            { return box_z; } | 
| 102 | < | double getSampleTime( void )      { return sample_time; } | 
| 103 | < | double getStatusTime( void )      { return status_time; } | 
| 104 | < | double getResetTime( void )       { return resetTime; } | 
| 105 | < | double getThermalTime( void )     { return thermal_time; } | 
| 106 | < | double getDielectric( void )      { return dielectric; } | 
| 107 | < | double getRcut( void )            { return rcut; } | 
| 108 | < | double getRsw( void )             { return rsw; } | 
| 109 | < | int    getTempSet( void )         { return tempSet; } | 
| 110 | < | int    getUseInitTime( void )     { return useInitTime; } | 
| 111 | < | int    getUseInitXSstate( void )  { return useInitXSstate; } | 
| 112 | < | double getOrthoBoxTolerance(void) { return orthoBoxTolerance; } | 
| 113 | < | int    getPBC( void )             { return usePBC; } | 
| 114 | < | int    getUseRF( void )           { return useRF; } | 
| 115 | < | char*  getMixingRule( void)       { return mixingRule; } | 
| 116 | < | double getZconsTime(void)         { return zcons_time; } | 
| 117 | < | double getZconsTol(void)          { return zcons_tol; } | 
| 118 | < | char*  getZconsForcePolicy(void)  { return zconsForcePolicy; } | 
| 119 | < | double getZconsGap(void)          { return zcons_gap; } | 
| 120 | < | double getZconsFixtime(void)      { return zcons_fixtime; } | 
| 121 | < | int    getZconsUsingSMD(void)     { return zcons_using_smd; } | 
| 122 | < | int    getSeed(void)              { return seed; } | 
| 123 | < | char*  getMinimizer(void)         { return minimizer_name; } | 
| 124 | < | int    getMinMaxIter(void)        { return minimizer_maxiteration; } | 
| 125 | < | int    getMinWriteFrq(void)       { return minimizer_writefrq; } | 
| 126 | < | double getMinStepSize(void)       { return minimizer_stepsize; } | 
| 127 | < | double getMinFTol(void)           { return minimizer_ftol; } | 
| 128 | < | double getMinGTol(void)           { return minimizer_gtol; } | 
| 129 | < | double getMinLSTol(void)          { return minimizer_ls_tol; } | 
| 130 | < | int    getMinLSMaxIter(void)      { return minimizer_ls_maxiteration; } | 
| 131 | < | int    getUseSolidThermInt(void)  { return useSolidThermInt; } | 
| 132 | < | int    getUseLiquidThermInt(void) { return useLiquidThermInt; } | 
| 133 | < | double getThermIntLambda(void)    { return thermodynamic_integration_lambda; } | 
| 134 | < | double getThermIntK(void)         { return thermodynamic_integration_k; } | 
| 135 | < | char*  getForceFieldVariant( void ) { return forcefield_variant; } | 
| 136 | < |  | 
| 137 | < | short int haveDt( void )            { return have_dt; } | 
| 138 | < | short int haveRunTime( void )       { return have_run_time; } | 
| 139 | < | short int haveEnsemble( void )      { return have_ensemble; } | 
| 140 | < | short int haveTargetTemp( void )    { return have_target_temp; } | 
| 141 | < | short int haveInitialConfig( void ) { return have_initial_config; } | 
| 142 | < | short int haveFinalConfig( void )   { return have_final_config; } | 
| 143 | < | short int haveNMol( void )          { return have_n_mol; } | 
| 144 | < | short int haveDensity( void )       { return have_density; } | 
| 145 | < | short int haveBox( void )           { return have_box; } | 
| 146 | < | short int haveBoxX( void )          { return have_box_x; } | 
| 147 | < | short int haveBoxY( void )          { return have_box_y; } | 
| 148 | < | short int haveBoxZ( void )          { return have_box_z; } | 
| 149 | < | short int haveSampleTime( void )    { return have_sample_time; } | 
| 150 | < | short int haveResetTime( void )     { return have_reset_time; } | 
| 151 | < | short int haveStatusTime( void )    { return have_status_time; } | 
| 152 | < | short int haveThermalTime( void )   { return have_thermal_time; } | 
| 153 | < | short int haveRcut( void )          { return have_rcut; } | 
| 154 | < | short int haveRsw( void )           { return have_rsw; } | 
| 155 | < | short int haveDielectric( void )    { return have_dielectric; } | 
| 156 | < | short int haveTempSet( void )       { return have_tempSet; } | 
| 157 | < | short int haveTargetPressure( void ){ return have_target_pressure; } | 
| 158 | < | short int haveQmass( void )         { return have_q_mass; } | 
| 159 | < | short int haveTauThermostat( void ) { return have_tau_thermostat; } | 
| 160 | < | short int haveTauBarostat( void )   { return have_tau_barostat; } | 
| 161 | < | short int haveZconstraintTime(void) { return have_zcons_time; } | 
| 162 | < | short int haveZconstraints( void )  { return have_zConstraints; } | 
| 163 | < | short int haveZconsTol(void)        { return have_zcons_tol; } | 
| 164 | < | short int haveZconsForcePolicy(void){ return have_zcons_force_policy; } | 
| 165 | < | short int haveZConsGap(void)        { return have_zcons_gap; } | 
| 166 | < | short int haveZConsFixTime(void)    { return have_zcons_fixtime; } | 
| 167 | < | short int haveZConsUsingSMD(void)   { return have_zcons_using_smd; } | 
| 168 | < | short int haveSeed(void)            { return have_seed; } | 
| 169 | < | short int haveMinimizer(void)       { return have_minimizer; } | 
| 170 | < | short int haveMinMaxIter(void)      { return have_minimizer_maxiteration; } | 
| 171 | < | short int haveMinWriteFrq(void)     { return have_minimizer_writefrq; } | 
| 172 | < | short int haveMinStepSize(void)     { return have_minimizer_stepsize; } | 
| 128 | < | short int haveMinFTol(void)         { return have_minimizer_ftol; } | 
| 129 | < | short int haveMinGTol(void)         { return have_minimizer_gtol; } | 
| 130 | < | short int haveMinLSTol(void)        { return have_minimizer_ls_tol; } | 
| 131 | < | short int haveMinLSMaxIter(void)    { return have_minimizer_ls_maxiteration;} | 
| 132 | < | short int haveThermIntLambda(void)  { return have_thermodynamic_integration_lambda; } | 
| 133 | < | short int haveThermIntK(void)       { return have_thermodynamic_integration_k; } | 
| 134 | < | short int haveForceFieldVariant(void) { return have_forcefield_variant; } | 
| 135 | < |  | 
| 136 | < | /* other accessors */ | 
| 137 | < | Component** getComponents( void )   { return components; } | 
| 138 | < | ZconStamp** getZconStamp( void )    { return zConstraints; } | 
| 139 | < |  | 
| 140 | < | private: | 
| 141 | < |  | 
| 142 | < | int hash_size; | 
| 143 | < | int hash_shift; | 
| 144 | < | int hash( char* text ); | 
| 145 | < | void addHash( char* text, int token ); | 
| 146 | < | LinkedCommand** command_table; | 
| 147 | < |  | 
| 148 | < | char* checkMe( void ); | 
| 149 | < |  | 
| 150 | < | Component* current_component; | 
| 151 | < | Component** components; // the array of components | 
| 152 | < |  | 
| 153 | < | ZconStamp* current_zConstraint; | 
| 154 | < | ZconStamp** zConstraints; // the array of zConstraints | 
| 155 | < |  | 
| 156 | < | char force_field[100]; | 
| 157 | < | int n_components; | 
| 158 | < | int n_zConstraints; | 
| 159 | < | double target_temp; | 
| 160 | < | double target_pressure; | 
| 161 | < | char ensemble[100]; | 
| 162 | < | char mixingRule[100]; | 
| 163 | < | double dt; | 
| 164 | < | double run_time; | 
| 165 | < | char initial_config[120]; | 
| 166 | < | char final_config[120]; | 
| 167 | < | int n_mol; | 
| 168 | < | double density; | 
| 169 | < | double box; | 
| 170 | < | double box_x, box_y, box_z; | 
| 171 | < | double sample_time; | 
| 172 | < | double status_time; | 
| 173 | < | double resetTime; | 
| 174 | < | double orthoBoxTolerance; | 
| 175 | < | double thermal_time; | 
| 176 | < | double rcut; | 
| 177 | < | double rsw; | 
| 178 | < | double dielectric; | 
| 179 | < | int tempSet; | 
| 180 | < | int useInitTime; | 
| 181 | < | int useInitXSstate; | 
| 182 | < | int usePBC; | 
| 183 | < | int useRF; | 
| 184 | < | double q_mass; | 
| 185 | < | double tau_thermostat; | 
| 186 | < | double tau_barostat; | 
| 187 | < | double zcons_time; | 
| 188 | < | double zcons_tol; | 
| 189 | < | char zconsForcePolicy[100]; | 
| 190 | < | double zcons_gap; | 
| 191 | < | double zcons_fixtime; | 
| 192 | < | int zcons_using_smd; | 
| 193 | < |  | 
| 194 | < | int seed; | 
| 195 | < | char minimizer_name[100]; | 
| 196 | < | int minimizer_maxiteration; | 
| 197 | < | int minimizer_writefrq; | 
| 198 | < | double minimizer_stepsize; | 
| 199 | < | double minimizer_ftol; | 
| 200 | < | double minimizer_gtol; | 
| 201 | < | double minimizer_ls_tol; | 
| 202 | < | int minimizer_ls_maxiteration; | 
| 203 | < | int useSolidThermInt; | 
| 204 | < | int useLiquidThermInt; | 
| 205 | < | double thermodynamic_integration_lambda; | 
| 206 | < | double thermodynamic_integration_k; | 
| 207 | < | char forcefield_variant[100]; | 
| 208 | < |  | 
| 209 | < | //required arguments | 
| 210 | < | short int have_force_field, have_n_components, have_target_temp; | 
| 211 | < | short int have_target_pressure, have_ensemble, have_dt, have_run_time; | 
| 212 | < |  | 
| 213 | < | // optional arguments | 
| 214 | < | short int have_initial_config, have_final_config, have_n_mol; | 
| 215 | < | short int have_density, have_box, have_box_x, have_box_y, have_box_z; | 
| 216 | < | short int have_sample_time, have_status_time, have_rcut, have_dielectric; | 
| 217 | < | short int have_tempSet, have_thermal_time, have_rsw, have_q_mass; | 
| 218 | < | short int have_tau_thermostat, have_tau_barostat; | 
| 219 | < | short int have_zcons_time, have_zConstraints, have_n_zConstraints; | 
| 220 | < | short int have_zcons_tol, have_seed; | 
| 221 | < | short int have_zcons_force_policy, have_reset_time; | 
| 222 | < | short int have_zcons_gap, have_zcons_fixtime; | 
| 223 | < | short int have_zcons_using_smd; | 
| 224 | < | short int have_minimizer, have_minimizer_maxiteration; | 
| 225 | < | short int have_minimizer_writefrq, have_minimizer_stepsize; | 
| 226 | < | short int have_minimizer_ftol, have_minimizer_gtol; | 
| 227 | < | short int have_minimizer_ls_tol, have_minimizer_ls_maxiteration; | 
| 228 | < | short int have_thermodynamic_integration_lambda; | 
| 229 | < | short int have_thermodynamic_integration_k; | 
| 230 | < | short int have_forcefield_variant; | 
| 62 | > | Globals(); | 
| 63 | > | virtual ~Globals(); | 
| 64 | > |  | 
| 65 | > | DeclareParameter(ForceField, std::string); | 
| 66 | > | DeclareParameter(TargetTemp, RealType); | 
| 67 | > | DeclareParameter(Ensemble, std::string); | 
| 68 | > | DeclareParameter(Dt, RealType); | 
| 69 | > | DeclareParameter(RunTime, RealType); | 
| 70 | > | DeclareParameter(FinalConfig, std::string); | 
| 71 | > | DeclareParameter(SampleTime, RealType); | 
| 72 | > | DeclareParameter(ResetTime, RealType); | 
| 73 | > | DeclareParameter(StatusTime, RealType); | 
| 74 | > | DeclareParameter(CutoffRadius, RealType); | 
| 75 | > | DeclareParameter(SwitchingRadius, RealType); | 
| 76 | > | DeclareParameter(TempSet, bool); | 
| 77 | > | DeclareParameter(ThermalTime, RealType); | 
| 78 | > | DeclareParameter(UsePeriodicBoundaryConditions, bool); | 
| 79 | > | DeclareParameter(TargetPressure, RealType); | 
| 80 | > | DeclareParameter(UseAtomicVirial, bool); | 
| 81 | > | DeclareParameter(TauThermostat, RealType); | 
| 82 | > | DeclareParameter(TauBarostat, RealType); | 
| 83 | > | DeclareParameter(ZconsTime, RealType); | 
| 84 | > | DeclareParameter(ZconsTol, RealType); | 
| 85 | > | DeclareParameter(ZconsForcePolicy, std::string); | 
| 86 | > | DeclareParameter(Seed, unsigned long int); | 
| 87 | > | DeclareParameter(UseInitalTime, bool); | 
| 88 | > | DeclareParameter(UseIntialExtendedSystemState, bool); | 
| 89 | > | DeclareParameter(OrthoBoxTolerance, RealType); | 
| 90 | > | DeclareParameter(Minimizer, std::string); | 
| 91 | > | DeclareParameter(MinimizerMaxIter, RealType); | 
| 92 | > | DeclareParameter(MinimizerWriteFrq, int); | 
| 93 | > | DeclareParameter(MinimizerStepSize, RealType); | 
| 94 | > | DeclareParameter(MinimizerFTol, RealType); | 
| 95 | > | DeclareParameter(MinimizerGTol, RealType); | 
| 96 | > | DeclareParameter(MinimizerLSTol, RealType); | 
| 97 | > | DeclareParameter(MinimizerLSMaxIter, int); | 
| 98 | > | DeclareParameter(ZconsGap, RealType); | 
| 99 | > | DeclareParameter(ZconsFixtime, RealType); | 
| 100 | > | DeclareParameter(ZconsUsingSMD, bool); | 
| 101 | > | DeclareParameter(UseSolidThermInt, bool); | 
| 102 | > | DeclareParameter(UseLiquidThermInt, bool); | 
| 103 | > | DeclareParameter(ThermodynamicIntegrationLambda, RealType); | 
| 104 | > | DeclareParameter(ThermodynamicIntegrationK, RealType); | 
| 105 | > | DeclareParameter(ForceFieldVariant, std::string); | 
| 106 | > | DeclareParameter(ForceFieldFileName, std::string); | 
| 107 | > | DeclareParameter(ThermIntDistSpringConst, RealType); | 
| 108 | > | DeclareParameter(ThermIntThetaSpringConst, RealType); | 
| 109 | > | DeclareParameter(ThermIntOmegaSpringConst, RealType); | 
| 110 | > | DeclareParameter(SurfaceTension, RealType); | 
| 111 | > | DeclareParameter(PrintPressureTensor, bool); | 
| 112 | > | DeclareParameter(TaggedAtomPair, intPair); | 
| 113 | > | DeclareParameter(PrintTaggedPairDistance, bool); | 
| 114 | > | DeclareParameter(ElectrostaticSummationMethod, std::string); | 
| 115 | > | DeclareParameter(ElectrostaticScreeningMethod, std::string); | 
| 116 | > | DeclareParameter(DampingAlpha, RealType); | 
| 117 | > | DeclareParameter(Dielectric, RealType); | 
| 118 | > | DeclareParameter(CutoffPolicy, std::string); | 
| 119 | > | DeclareParameter(SwitchingFunctionType, std::string); | 
| 120 | > | DeclareParameter(CompressDumpFile, bool); | 
| 121 | > | DeclareParameter(OutputForceVector, bool); | 
| 122 | > | DeclareParameter(SkinThickness, RealType); | 
| 123 | > | DeclareParameter(StatFileFormat, std::string); | 
| 124 | > | DeclareParameter(HydroPropFile, std::string); | 
| 125 | > | DeclareParameter(Viscosity, RealType); | 
| 126 | > | DeclareParameter(BeadSize, RealType); | 
| 127 | > | DeclareParameter(ThermalConductivity, RealType); | 
| 128 | > | DeclareParameter(ThermalLength, RealType); | 
| 129 | > | DeclareParameter(UseSphericalBoundaryConditions, bool); | 
| 130 | > | DeclareParameter(FrozenBufferRadius, RealType); | 
| 131 | > | DeclareParameter(LangevinBufferRadius, RealType); | 
| 132 | > | DeclareParameter(AccumulateBoxDipole, bool); | 
| 133 | > | DeclareParameter(NeighborListNeighbors, int); | 
| 134 | > | DeclareParameter(UseMultipleTemperatureMethod, bool); | 
| 135 | > | DeclareParameter(MTM_Ce, RealType); | 
| 136 | > | DeclareParameter(MTM_G, RealType); | 
| 137 | > | DeclareParameter(MTM_Io, RealType); | 
| 138 | > | DeclareParameter(MTM_Sigma, RealType); | 
| 139 | > | DeclareParameter(MTM_R, RealType); | 
| 140 | > | DeclareParameter(UseRNEMD, bool); | 
| 141 | > | DeclareParameter(RNEMD_swapTime, RealType); | 
| 142 | > | DeclareParameter(RNEMD_nBins, int); | 
| 143 | > | DeclareParameter(RNEMD_swapType, std::string); | 
| 144 | > | DeclareParameter(RNEMD_objectSelection, std::string); | 
| 145 | > | DeclareParameter(UseRestraints, bool); | 
| 146 | > | DeclareParameter(Restraint_objectSelection, std::string); | 
| 147 | > | DeclareParameter(Restraint_type, std::string); | 
| 148 | > | DeclareParameter(Restraint_file, std::string); | 
| 149 | > | DeclareParameter(Restraint_DisplacementSpringConstant, RealType); | 
| 150 | > | DeclareParameter(Restraint_RollSpringConstant, RealType);  // phi | 
| 151 | > | DeclareParameter(Restraint_PitchSpringConstant, RealType); // theta | 
| 152 | > | DeclareParameter(Restraint_YawSpringConstant, RealType);   // psi | 
| 153 | > |  | 
| 154 | > | public: | 
| 155 | > | bool addComponent(Component* comp); | 
| 156 | > | bool addZConsStamp(ZConsStamp* zcons); | 
| 157 | > | bool addMoleculeStamp(MoleculeStamp* molStamp); | 
| 158 | > | int getNComponents() {return components_.size();} | 
| 159 | > | std::vector<Component*> getComponents() {return components_;} | 
| 160 | > | Component* getComponentAt(int index) {return components_.at(index);} | 
| 161 | > |  | 
| 162 | > | int getNZconsStamps() {return zconstraints_.size();} | 
| 163 | > | std::vector<ZConsStamp*> getZconsStamps() {return zconstraints_;} | 
| 164 | > | ZConsStamp* getZconsStampAt(int index) {return zconstraints_.at(index);} | 
| 165 | > |  | 
| 166 | > | virtual void validate(); | 
| 167 | > | private: | 
| 168 | > |  | 
| 169 | > | std::vector<Component*> components_; | 
| 170 | > | std::vector<ZConsStamp*> zconstraints_; | 
| 171 | > | std::map<std::string, MoleculeStamp*> moleculeStamps_; | 
| 172 | > | std::pair<int, int> taggedAtomPair_; | 
| 173 |  | }; | 
| 174 | < |  | 
| 174 | > | } | 
| 175 |  | #endif | 
| 176 | + |  |