Changes in src/atom.hpp [1b2d30:ad2b411]
- File:
-
- 1 edited
-
src/atom.hpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/atom.hpp
r1b2d30 rad2b411 34 34 class Vector; 35 35 class World; 36 class molecule; 36 37 37 38 /********************************************** declarations *******************************/ … … 44 45 friend void DeleteAtom(atom*); 45 46 public: 46 atom *previous; //!< previous atom in molecule list47 atom *next; //!< next atom in molecule list48 47 atom *father; //!< In many-body bond order fragmentations points to originating atom 49 48 int *sort; //!< sort criteria … … 52 51 53 52 bool OutputIndexed(ofstream * const out, const int ElementNo, const int AtomNo, const char *comment = NULL) const; 54 bool OutputArrayIndexed(o stream * const out, const int *ElementNo, int *AtomNo, const char *comment = NULL) const;53 bool OutputArrayIndexed(ofstream * const out, const int *ElementNo, int *AtomNo, const char *comment = NULL) const; 55 54 bool OutputXYZLine(ofstream *out) const; 56 55 bool OutputTrajectory(ofstream * const out, const int *ElementNo, int *AtomNo, const int step) const; 57 56 bool OutputTrajectoryXYZ(ofstream * const out, const int step) const; 58 void OutputMPQCLine(o stream * const out, const Vector *center, int *AtomNo) const;57 void OutputMPQCLine(ofstream * const out, const Vector *center, int *AtomNo) const; 59 58 60 59 void InitComponentNr(); … … 80 79 void setWorld(World*); 81 80 82 virtual atomId_t getId() ;81 virtual atomId_t getId() const; 83 82 virtual bool changeId(atomId_t newId); 84 83 … … 89 88 virtual void setId(atomId_t); 90 89 90 void setMolecule(molecule*); 91 void removeFromMolecule(); 92 91 93 protected: 94 92 95 /** 93 96 * Protected constructor to ensure construction of atoms through the world. … … 108 111 virtual ~atom(); 109 112 private: 113 molecule *mol; // !< the molecule this atom belongs to 110 114 World* world; 111 115 atomId_t id;
Note:
See TracChangeset
for help on using the changeset viewer.
