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

    r2e6aa1 r94d0ad  
    3131 * \param *file output stream
    3232 */
    33 void BondedParticle::OutputOrder(ofstream *file)
     33void BondedParticle::OutputOrder(ofstream *file) const
    3434{
    3535  *file << nr << "\t" << (int)AdaptiveOrder << "\t" << (int)MaxOrder << endl;
Note: See TracChangeset for help on using the changeset viewer.