Changes in src/config.hpp [35b698:235bed]
- File:
-
- 1 edited
-
src/config.hpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/config.hpp
r35b698 r235bed 20 20 #include <string> 21 21 22 #include "bondgraph.hpp" 23 22 24 /****************************************** forward declarations *****************************/ 23 25 24 class BondGraph;25 class ConfigFileBuffer;26 26 class molecule; 27 27 class MoleculeListClass; 28 28 class periodentafel; 29 class ThermoStatContainer;30 29 31 30 /********************************************** declarations *******************************/ 31 32 class ConfigFileBuffer { 33 public: 34 char **buffer; 35 int *LineMapping; 36 int CurrentLine; 37 int NoLines; 38 39 ConfigFileBuffer(); 40 ConfigFileBuffer(const char * const filename); 41 ~ConfigFileBuffer(); 42 43 void InitMapping(); 44 void MapIonTypesInBuffer(const int NoAtoms); 45 }; 32 46 33 47 /** The config file. … … 37 51 public: 38 52 class BondGraph *BG; 39 class ThermoStatContainer *Thermostats;40 53 41 54 int PsiType; … … 47 60 int ProcPEGamma; 48 61 int ProcPEPsi; 62 char *configpath; 49 63 char *configname; 50 64 bool FastParsing; … … 56 70 int DoConstrainedMD; 57 71 int MaxOuterStep; 72 int Thermostat; 73 int *ThermostatImplemented; 74 char **ThermostatNames; 75 double TempFrequency; 76 double alpha; 77 double HooverMass; 78 double TargetTemp; 79 int ScaleTempStep; 58 80 59 81 private: … … 116 138 void Load(const char * const filename, const string &BondGraphFileName, const periodentafel * const periode, MoleculeListClass * const &MolList); 117 139 void LoadOld(const char * const filename, const string &BondGraphFileName, const periodentafel * const periode, MoleculeListClass * const &MolList); 140 void RetrieveConfigPathAndName(const string filename); 118 141 bool Save(const char * const filename, const periodentafel * const periode, molecule * const mol) const; 119 142 bool SaveMPQC(const char * const filename, const molecule * const mol) const; … … 129 152 char *GetDefaultPath() const; 130 153 void SetDefaultPath(const char * const path); 154 void InitThermostats(); 131 155 void ParseThermostats(class ConfigFileBuffer * const fb); 132 156 };
Note:
See TracChangeset
for help on using the changeset viewer.
