Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule.hpp

    r35b698 r274d45  
    8080  double *PenaltyConstants;   //!<  penalty constant in front of each term
    8181};
     82
     83#define MaxThermostats 6      //!< maximum number of thermostat entries in Ions#ThermostatNames and Ions#ThermostatImplemented
     84enum thermostats { None, Woodcock, Gaussian, Langevin, Berendsen, NoseHoover };   //!< Thermostat names for output
     85
    8286
    8387/** The complete molecule.
     
    261265  /// Count and change present atoms' coordination.
    262266  void CountElements();
     267  void CalculateOrbitals(class config &configuration);
    263268  bool CenterInBox();
    264269  bool BoundInBox();
     
    287292  double MinimiseConstrainedPotential(atom **&permutation, int startstep, int endstep, bool IsAngstroem);
    288293  void EvaluateConstrainedForces(int startstep, int endstep, atom **PermutationMap, ForceMatrix *Force);
    289   bool LinearInterpolationBetweenConfiguration(int startstep, int endstep, std::string &prefix, config &configuration, bool MapByIdentity);
     294  bool LinearInterpolationBetweenConfiguration(int startstep, int endstep, const char *prefix, config &configuration, bool MapByIdentity);
    290295       
    291296  bool CheckBounds(const Vector *x) const;
     
    319324
    320325  /// Fragment molecule by two different approaches:
    321   int FragmentMolecule(int Order, std::string &prefix);
    322   bool CheckOrderAtSite(bool *AtomMask, Graph *GlobalKeySetList, int Order, int *MinimumRingSize, std::string path = "");
    323   bool StoreBondsToFile(std::string &filename, std::string path = "");
    324   bool StoreAdjacencyToFile(std::string &filename, std::string path = "");
    325   bool CheckAdjacencyFileAgainstMolecule(std::string &path, atom **ListOfAtoms);
    326   bool ParseOrderAtSiteFromFile(std::string &path);
    327   bool StoreOrderAtSiteFile(std::string &path);
    328   bool StoreForcesFile(MoleculeListClass *BondFragments, std::string &path, int *SortIndex);
     326  int FragmentMolecule(int Order, config *configuration);
     327  bool CheckOrderAtSite(bool *AtomMask, Graph *GlobalKeySetList, int Order, int *MinimumRingSize, char *path = NULL);
     328  bool StoreBondsToFile(char *path, char *filename);
     329  bool StoreAdjacencyToFile(char *path, char *filename);
     330  bool CheckAdjacencyFileAgainstMolecule(char *path, atom **ListOfAtoms);
     331  bool ParseOrderAtSiteFromFile(char *path);
     332  bool StoreOrderAtSiteFile(char *path);
     333  bool StoreForcesFile(MoleculeListClass *BondFragments, char *path, int *SortIndex);
    329334  bool CreateMappingLabelsToConfigSequence(int *&SortIndex);
    330335  bool CreateFatherLookupTable(atom **&LookupTable, int count = 0);
     
    375380  ~MoleculeListClass();
    376381
    377   bool AddHydrogenCorrection(std::string &path);
    378   bool StoreForcesFile(std::string &path, int *SortIndex);
     382  bool AddHydrogenCorrection(char *path);
     383  bool StoreForcesFile(char *path, int *SortIndex);
    379384  void insert(molecule *mol);
    380385  void erase(molecule *mol);
    381386  molecule * ReturnIndex(int index);
    382   bool OutputConfigForListOfFragments(std::string &prefix, int *SortIndex);
     387  bool OutputConfigForListOfFragments(config *configuration, int *SortIndex);
    383388  int NumberOfActiveMolecules();
    384389  void Enumerate(ostream *out);
Note: See TracChangeset for help on using the changeset viewer.