Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config.hpp

    r35b698 r235bed  
    2020#include <string>
    2121
     22#include "bondgraph.hpp"
     23
    2224/****************************************** forward declarations *****************************/
    2325
    24 class BondGraph;
    25 class ConfigFileBuffer;
    2626class molecule;
    2727class MoleculeListClass;
    2828class periodentafel;
    29 class ThermoStatContainer;
    3029
    3130/********************************************** declarations *******************************/
     31
     32class 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};
    3246
    3347/** The config file.
     
    3751  public:
    3852    class BondGraph *BG;
    39     class ThermoStatContainer *Thermostats;
    4053
    4154    int PsiType;
     
    4760    int ProcPEGamma;
    4861    int ProcPEPsi;
     62    char *configpath;
    4963    char *configname;
    5064    bool FastParsing;
     
    5670    int DoConstrainedMD;
    5771    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;
    5880
    5981  private:
     
    116138  void Load(const char * const filename, const string &BondGraphFileName, const periodentafel * const periode, MoleculeListClass * const &MolList);
    117139  void LoadOld(const char * const filename, const string &BondGraphFileName, const periodentafel * const periode, MoleculeListClass * const &MolList);
     140  void RetrieveConfigPathAndName(const string filename);
    118141  bool Save(const char * const filename, const periodentafel * const periode, molecule * const mol) const;
    119142  bool SaveMPQC(const char * const filename, const molecule * const mol) const;
     
    129152  char *GetDefaultPath() const;
    130153  void SetDefaultPath(const char * const path);
     154  void InitThermostats();
    131155  void ParseThermostats(class ConfigFileBuffer * const fb);
    132156};
Note: See TracChangeset for help on using the changeset viewer.