Changes in src/molecules.hpp [a251a3:110ceb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/molecules.hpp
ra251a3 r110ceb 13 13 #include <gsl/gsl_vector.h> 14 14 #include <gsl/gsl_matrix.h> 15 #include <gsl/gsl_eigen.h> 15 16 #include <gsl/gsl_heapsort.h> 16 17 … … 39 40 #define KeySet set<int> 40 41 #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 > 43 44 #define KeySetTestPair pair<KeySet::iterator, bool> 44 45 #define GraphTestPair pair<Graph::iterator, bool> … … 265 266 void CenterEdge(ofstream *out, vector *max); 266 267 void CenterOrigin(ofstream *out, vector *max); 267 void CenterGravity(ofstream *out, vector *max); 268 void CenterGravity(ofstream *out, vector *max); 268 269 void Translate(const vector *x); 269 270 void Mirror(const vector *x); 270 271 void Align(vector *n); 271 272 void Scale(double **factor); 272 void DetermineCenterOfGravity(vector &CenterOfGravity); 273 void DetermineCenter(vector ¢er); 274 vector * DetermineCenterOfGravity(ofstream *out); 273 275 void SetBoxDimension(vector *dim); 274 276 double * ReturnFullMatrixforSymmetric(double *cell_size); 275 277 void ScanForPeriodicCorrection(ofstream *out); 276 278 void PrincipalAxisSystem(ofstream *out, bool DoRotate); 279 double VolumeOfConvexEnvelope(ofstream *out, bool IsAngstroem); 280 277 281 bool CheckBounds(const vector *x) const; 278 282 void GetAlignVector(struct lsq_params * par) const; … … 283 287 284 288 // Graph analysis 285 MoleculeLeafClass * DepthFirstSearchAnalysis(ofstream *out, bool ReturnStack,int *&MinimumRingSize);289 MoleculeLeafClass * DepthFirstSearchAnalysis(ofstream *out, int *&MinimumRingSize); 286 290 void CyclicStructureAnalysis(ofstream *out, class StackClass<bond *> *BackEdgeStack, int *&MinimumRingSize); 287 291 bond * FindNextUnused(atom *vertex); … … 303 307 bool ParseOrderAtSiteFromFile(ofstream *out, char *path); 304 308 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); 306 310 bool StoreKeySetFile(ofstream *out, Graph &KeySetList, char *path); 307 311 bool StoreForcesFile(ofstream *out, MoleculeListClass *BondFragments, char *path, int *SortIndex); … … 392 396 char *configpath; 393 397 char *configname; 398 bool FastParsing; 394 399 395 400 private:
Note:
See TracChangeset
for help on using the changeset viewer.