Changeset 32b6dc for molecuilder/src/molecules.hpp
- Timestamp:
- Jun 7, 2008, 1:21:53 PM (17 years ago)
- Children:
- d11f22
- Parents:
- a89a22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecules.hpp
ra89a22 r32b6dc 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 … … 43 44 #define KeySetTestPair pair<KeySet::iterator, bool> 44 45 #define GraphTestPair pair<Graph::iterator, bool> 46 47 #define DistanceNrPair pair< double, atom* > 48 #define Boundaries map <double, DistanceNrPair > 49 #define BoundariesPair pair<double, DistanceNrPair > 50 #define BoundariesTestPair pair<Boundaries::iterator, bool> 51 #define LinetoAtomMap map < int, atom * > 52 #define LinetoAtomPair pair < int, atom * > 53 #define LinetoAtomTestPair pair < LinetoAtomMap::iterator, bool> 45 54 46 55 struct KeyCompare … … 265 274 void CenterEdge(ofstream *out, vector *max); 266 275 void CenterOrigin(ofstream *out, vector *max); 267 void CenterGravity(ofstream *out, vector *max); 276 void CenterGravity(ofstream *out, vector *max); 268 277 void Translate(const vector *x); 269 278 void Mirror(const vector *x); 270 279 void Align(vector *n); 271 280 void Scale(double **factor); 272 void DetermineCenterOfGravity(vector &CenterOfGravity); 281 void DetermineCenter(vector ¢er); 282 vector * DetermineCenterOfGravity(ofstream *out); 273 283 void SetBoxDimension(vector *dim); 274 284 double * ReturnFullMatrixforSymmetric(double *cell_size); 275 285 void ScanForPeriodicCorrection(ofstream *out); 276 286 void PrincipalAxisSystem(ofstream *out, bool DoRotate); 287 double VolumeOfConvexEnvelope(ofstream *out, bool IsAngstroem); 288 277 289 bool CheckBounds(const vector *x) const; 278 290 void GetAlignVector(struct lsq_params * par) const; … … 283 295 284 296 // Graph analysis 285 MoleculeLeafClass * DepthFirstSearchAnalysis(ofstream *out, bool ReturnStack,int *&MinimumRingSize);297 MoleculeLeafClass * DepthFirstSearchAnalysis(ofstream *out, int *&MinimumRingSize); 286 298 void CyclicStructureAnalysis(ofstream *out, class StackClass<bond *> *BackEdgeStack, int *&MinimumRingSize); 287 299 bond * FindNextUnused(atom *vertex); … … 303 315 bool ParseOrderAtSiteFromFile(ofstream *out, char *path); 304 316 bool StoreOrderAtSiteFile(ofstream *out, char *path); 305 bool ParseKeySetFile(ofstream *out, char *filename, Graph *&FragmentList , bool IsAngstroem);317 bool ParseKeySetFile(ofstream *out, char *filename, Graph *&FragmentList); 306 318 bool StoreKeySetFile(ofstream *out, Graph &KeySetList, char *path); 307 319 bool StoreForcesFile(ofstream *out, MoleculeListClass *BondFragments, char *path, int *SortIndex);
Note:
See TracChangeset
for help on using the changeset viewer.