Changeset 15c75f8 for src/molecule.hpp


Ignore:
Timestamp:
Nov 5, 2014, 9:41:13 PM (10 years ago)
Author:
Frederik Heber <heber@…>
Parents:
7b38d3
git-author:
Frederik Heber <heber@…> (11/05/14 20:49:45)
git-committer:
Frederik Heber <heber@…> (11/05/14 21:41:13)
Message:

molecule has a lastchangedatom member variable now.

  • FIX: molecule::getBoundingSphere() did not check for no atoms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule.hpp

    r7b38d3 r15c75f8  
    108108    NotificationType_MAX
    109109  };
     110
     111  //>! access to last changed element (atom)
     112  const atom* lastChanged() const
     113  { return _lastchangedatom; }
    110114
    111115public:
     
    319323
    320324private:
     325  friend const atom *detail::lastChanged<atom>();
     326  atom *_lastchangedatom;
     327
    321328  int last_atom; //!< number given to last atom
    322329};
Note: See TracChangeset for help on using the changeset viewer.