Changeset 543ce4 for molecuilder/src/atom.cpp
- Timestamp:
- Nov 4, 2009, 7:56:04 PM (16 years ago)
- Children:
- 4ef101, aa8542
- Parents:
- ec70ec
- File:
-
- 1 edited
-
molecuilder/src/atom.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.cpp
rec70ec r543ce4 107 107 * \return true - \a *out present, false - \a *out is NULL 108 108 */ 109 bool atom::OutputIndexed(ofstream * out, const int ElementNo, const int AtomNo, const char *comment) const109 bool atom::OutputIndexed(ofstream * const out, const int ElementNo, const int AtomNo, const char *comment) const 110 110 { 111 111 if (out != NULL) { … … 131 131 * \return true - \a *out present, false - \a *out is NULL 132 132 */ 133 bool atom::OutputArrayIndexed(ofstream * out, const int *ElementNo, int *AtomNo, const char *comment) const133 bool atom::OutputArrayIndexed(ofstream * const out, const int *ElementNo, int *AtomNo, const char *comment) const 134 134 { 135 135 AtomNo[type->Z]++; // increment number … … 169 169 * \return true - \a *out present, false - \a *out is NULL 170 170 */ 171 bool atom::OutputTrajectory(ofstream * out, const int *ElementNo, int *AtomNo, const int step) const171 bool atom::OutputTrajectory(ofstream * const out, const int *ElementNo, int *AtomNo, const int step) const 172 172 { 173 173 AtomNo[type->Z]++; … … 191 191 * \return true - \a *out present, false - \a *out is NULL 192 192 */ 193 bool atom::OutputTrajectoryXYZ(ofstream * out, const int step) const193 bool atom::OutputTrajectoryXYZ(ofstream * const out, const int step) const 194 194 { 195 195 if (out != NULL) { … … 208 208 * \param *AtomNo pointer to atom counter that is increased by one 209 209 */ 210 void atom::OutputMPQCLine(ofstream * out, const Vector *center, int *AtomNo = NULL) const210 void atom::OutputMPQCLine(ofstream * const out, const Vector *center, int *AtomNo = NULL) const 211 211 { 212 212 *out << "\t\t" << type->symbol << " [ " << x.x[0]-center->x[0] << "\t" << x.x[1]-center->x[1] << "\t" << x.x[2]-center->x[2] << " ]" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.
