Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecules.hpp

    ra251a3 r110ceb  
    1313#include <gsl/gsl_vector.h>
    1414#include <gsl/gsl_matrix.h>
     15#include <gsl/gsl_eigen.h>
    1516#include <gsl/gsl_heapsort.h>
    1617
     
    3940#define KeySet set<int>
    4041#define NumberValuePair pair<int, double>
    41 #define Graph map<KeySet, NumberValuePair, KeyCompare >
    42 #define GraphPair pair<KeySet, NumberValuePair >
     42#define Graph map <KeySet, NumberValuePair, KeyCompare >
     43#define GraphPair pair <KeySet, NumberValuePair >
    4344#define KeySetTestPair pair<KeySet::iterator, bool>
    4445#define GraphTestPair pair<Graph::iterator, bool>
     
    265266  void CenterEdge(ofstream *out, vector *max);
    266267  void CenterOrigin(ofstream *out, vector *max);
    267   void CenterGravity(ofstream *out, vector *max); 
     268  void CenterGravity(ofstream *out, vector *max);
    268269  void Translate(const vector *x);
    269270  void Mirror(const vector *x);
    270271  void Align(vector *n);
    271272  void Scale(double **factor);
    272   void DetermineCenterOfGravity(vector &CenterOfGravity);
     273  void DetermineCenter(vector &center);
     274  vector * DetermineCenterOfGravity(ofstream *out);
    273275  void SetBoxDimension(vector *dim);
    274276  double * ReturnFullMatrixforSymmetric(double *cell_size);
    275277  void ScanForPeriodicCorrection(ofstream *out);
    276 
     278        void PrincipalAxisSystem(ofstream *out, bool DoRotate);
     279        double VolumeOfConvexEnvelope(ofstream *out, bool IsAngstroem);
     280       
    277281  bool CheckBounds(const vector *x) const;
    278282  void GetAlignVector(struct lsq_params * par) const;
     
    283287 
    284288  // Graph analysis
    285   MoleculeLeafClass * DepthFirstSearchAnalysis(ofstream *out, bool ReturnStack, int *&MinimumRingSize);
     289  MoleculeLeafClass * DepthFirstSearchAnalysis(ofstream *out, int *&MinimumRingSize);
    286290  void CyclicStructureAnalysis(ofstream *out, class StackClass<bond *> *BackEdgeStack, int *&MinimumRingSize);
    287291  bond * FindNextUnused(atom *vertex);
     
    303307  bool ParseOrderAtSiteFromFile(ofstream *out, char *path);
    304308  bool StoreOrderAtSiteFile(ofstream *out, char *path);
    305   bool ParseKeySetFile(ofstream *out, char *filename, Graph *&FragmentList, bool IsAngstroem);
     309  bool ParseKeySetFile(ofstream *out, char *filename, Graph *&FragmentList);
    306310  bool StoreKeySetFile(ofstream *out, Graph &KeySetList, char *path);
    307311  bool StoreForcesFile(ofstream *out, MoleculeListClass *BondFragments, char *path, int *SortIndex);
     
    392396    char *configpath;
    393397    char *configname;
     398    bool FastParsing;
    394399   
    395400    private:
Note: See TracChangeset for help on using the changeset viewer.