Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config.hpp

    r43dad6 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;
     
    5770    int DoConstrainedMD;
    5871    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;
    5980
    6081  private:
     
    131152  char *GetDefaultPath() const;
    132153  void SetDefaultPath(const char * const path);
     154  void InitThermostats();
    133155  void ParseThermostats(class ConfigFileBuffer * const fb);
    134156};
Note: See TracChangeset for help on using the changeset viewer.