Changeset 8f8621 for molecuilder/src/molecules.hpp
- Timestamp:
- Aug 6, 2008, 9:02:01 AM (17 years ago)
- Children:
- 67f102
- Parents:
- 0a08df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecules.hpp
r0a08df r8f8621 73 73 */ 74 74 struct LSQ_params { 75 vector **vectors;75 Vector **vectors; 76 76 int num; 77 77 }; … … 94 94 class atom { 95 95 public: 96 vector x; //!< coordinate array of atom, giving position within cell97 vector v; //!< velocity array of atom96 Vector x; //!< coordinate array of atom, giving position within cell 97 Vector v; //!< velocity array of atom 98 98 element *type; //!< pointing to element 99 99 atom *previous; //!< previous atom in molecule list … … 212 212 void CountElements(); 213 213 void CalculateOrbitals(class config &configuration); 214 bool CenterInBox(ofstream *out, vector *BoxLengths);215 void CenterEdge(ofstream *out, vector *max);216 void CenterOrigin(ofstream *out, vector *max);217 void CenterGravity(ofstream *out, vector *max);218 void Translate(const vector *x);219 void Mirror(const vector *x);220 void Align( vector *n);214 bool CenterInBox(ofstream *out, Vector *BoxLengths); 215 void CenterEdge(ofstream *out, Vector *max); 216 void CenterOrigin(ofstream *out, Vector *max); 217 void CenterGravity(ofstream *out, Vector *max); 218 void Translate(const Vector *x); 219 void Mirror(const Vector *x); 220 void Align(Vector *n); 221 221 void Scale(double **factor); 222 void DetermineCenter( vector ¢er);223 vector * DetermineCenterOfGravity(ofstream *out);224 void SetBoxDimension( vector *dim);222 void DetermineCenter(Vector ¢er); 223 Vector * DetermineCenterOfGravity(ofstream *out); 224 void SetBoxDimension(Vector *dim); 225 225 double * ReturnFullMatrixforSymmetric(double *cell_size); 226 226 void ScanForPeriodicCorrection(ofstream *out); … … 229 229 bool VerletForceIntegration(char *file, double delta_t); 230 230 231 bool CheckBounds(const vector *x) const;231 bool CheckBounds(const Vector *x) const; 232 232 void GetAlignvector(struct lsq_params * par) const; 233 233
Note:
See TracChangeset
for help on using the changeset viewer.