Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule.hpp

    r06804b r833b15  
    273273  bool CenterInBox();
    274274  bool BoundInBox();
    275   void CenterEdge(Vector *max);
     275  void CenterEdge();
    276276  void CenterOrigin();
    277277  void CenterPeriodic();
    278   void CenterAtVector(Vector *newcenter);
    279   void Translate(const Vector *x);
    280   void TranslatePeriodically(const Vector *trans);
    281   void Mirror(const Vector *x);
    282   void Align(Vector *n);
    283   void Scale(const double ** const factor);
     278  void CenterAtVector(const Vector &newcenter);
     279  void Translate(const Vector &x);
     280  void TranslatePeriodically(const Vector &trans);
     281  void Mirror(const Vector &x);
     282  void Align(const Vector &n);
     283  void Scale(const double *factor);
    284284  void DeterminePeriodicCenter(Vector &center, const enum HydrogenTreatment _treatment = ExcludeHydrogen);
    285   Vector * DetermineCenterOfGravity() const;
    286   Vector * DetermineCenterOfAll() const;
    287   Vector * DetermineCenterOfBox() const;
     285  const Vector DetermineCenterOfGravity() const;
     286  const Vector DetermineCenterOfAll() const;
    288287  void SetNameFromFilename(const char *filename);
    289   void SetBoxDimension(Vector *dim);
    290288  bool ScanForPeriodicCorrection();
    291289  double VolumeOfConvexEnvelope(bool IsAngstroem);
Note: See TracChangeset for help on using the changeset viewer.