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.cpp

    r2e6aa1 r94d0ad  
    12761276 * @param three vectors forming the matrix that defines the shape of the parallelpiped
    12771277 */
    1278 bool Vector::IsInParallelepiped(Vector offset, double *parallelepiped)
     1278bool Vector::IsInParallelepiped(const Vector offset, const double *parallelepiped) const
    12791279{
    12801280  Vector a;
Note: See TracChangeset for help on using the changeset viewer.