Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom.hpp

    r0ba410 rd74077  
    2727#include "atom_particleinfo.hpp"
    2828#include "atom_trajectoryparticle.hpp"
    29 #include "tesselation.hpp"
     29#include "TesselPoint.hpp"
    3030#include "types.hpp"
    3131
     
    4242 * Class incorporates position, type
    4343 */
    44 class atom : public TesselPoint, public TrajectoryParticle, public GraphNode, public BondedParticle, public virtual ParticleInfo, public virtual AtomInfo {
     44class atom : public TrajectoryParticle, public GraphNode, public BondedParticle, public TesselPoint {
    4545  friend atom* NewAtom(atomId_t);
    4646  friend void  DeleteAtom(atom*);
     
    5252
    5353  bool OutputIndexed(ofstream * const out, const int ElementNo, const int AtomNo, const char *comment = NULL) const;
    54   bool OutputArrayIndexed(ostream * const out,const enumeration<const element*>&, int *AtomNo, const char *comment = NULL) const;
     54  bool OutputArrayIndexed(ostream * const out, const int *ElementNo, int *AtomNo, const char *comment = NULL) const;
    5555  bool OutputXYZLine(ofstream *out) const;
    5656  bool OutputTrajectory(ofstream * const out, const int *ElementNo, int *AtomNo, const int step) const;
     
    6161
    6262  void EqualsFather ( const atom *ptr, const atom **res ) const;
    63   bool isFather(const atom *ptr);
    6463  void CorrectFather();
    6564  atom *GetTrueFather();
     
    9493   void removeFromMolecule();
    9594
     95   // Output operator
     96   std::ostream & operator << (std::ostream &ost) const;
     97
    9698  protected:
    9799
     
    120122
    121123/**
     124 * Global output operator for class atom.
     125 */
     126std::ostream & operator << (std::ostream &ost, const atom &_atom);
     127
     128/**
    122129 * internal method used by the world. Do not use if you don't know what you are doing.
    123130 * You might get burned...
Note: See TracChangeset for help on using the changeset viewer.