Ignore:
Timestamp:
Oct 27, 2009, 8:54:44 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
8b6ee4
Parents:
2e6aa1
Message:

Begun with ticket #38 (make const what is const).

  • basically all changes to member function that now state that they do not change member attributes.
  • in molecule_template.hpp all member functions are declared const, as we only need start and end from molecule and these are never changed (lots of overloaded templates removed thereby).
  • Vector::Distance...() and ...DistanceSquared() are const now too
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/vector.hpp

    r2e6aa1 r94d0ad  
    7777  void AskPosition(double *cell_size, bool check);
    7878  bool Output(ofstream *out) const;
    79   bool IsInParallelepiped(Vector offset, double *parallelepiped);
     79  bool IsInParallelepiped(const Vector offset, const double *parallelepiped) const;
    8080  void WrapPeriodically(const double *M, const double *Minv);
    8181};
Note: See TracChangeset for help on using the changeset viewer.