Ignore:
Timestamp:
Aug 6, 2008, 9:02:01 AM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
67f102
Parents:
0a08df
Message:

Rename of class vector to Vector to avoid conflict with vector from STL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    r0a08df r8f8621  
    7373 */
    7474struct LSQ_params {
    75   vector **vectors;
     75  Vector **vectors;
    7676  int num;
    7777};
     
    9494class atom {
    9595  public:
    96     vector x;       //!< coordinate array of atom, giving position within cell
    97     vector v;       //!< velocity array of atom
     96    Vector x;       //!< coordinate array of atom, giving position within cell
     97    Vector v;       //!< velocity array of atom
    9898    element *type;  //!< pointing to element
    9999    atom *previous; //!< previous atom in molecule list
     
    212212  void CountElements();
    213213  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);
    221221  void Scale(double **factor);
    222   void DetermineCenter(vector &center);
    223   vector * DetermineCenterOfGravity(ofstream *out);
    224   void SetBoxDimension(vector *dim);
     222  void DetermineCenter(Vector &center);
     223  Vector * DetermineCenterOfGravity(ofstream *out);
     224  void SetBoxDimension(Vector *dim);
    225225  double * ReturnFullMatrixforSymmetric(double *cell_size);
    226226  void ScanForPeriodicCorrection(ofstream *out);
     
    229229        bool VerletForceIntegration(char *file, double delta_t);
    230230       
    231   bool CheckBounds(const vector *x) const;
     231  bool CheckBounds(const Vector *x) const;
    232232  void GetAlignvector(struct lsq_params * par) const;
    233233
Note: See TracChangeset for help on using the changeset viewer.