Changeset 0cd3b2 for molecuilder/src/atom.cpp
- Timestamp:
- Oct 7, 2009, 1:16:13 PM (16 years ago)
- Children:
- 972706
- Parents:
- 567b7f
- File:
-
- 1 edited
-
molecuilder/src/atom.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.cpp
r567b7f r0cd3b2 187 187 }; 188 188 189 /** Output of a single atom as one lin in xyz file. 190 * \param *out stream to output to 191 */ 192 bool atom::OutputTrajectoryXYZ(ofstream *out, int step) const 193 { 194 if (out != NULL) { 195 *out << type->symbol << "\t"; 196 *out << Trajectory.R.at(step).x[0] << "\t"; 197 *out << Trajectory.R.at(step).x[1] << "\t"; 198 *out << Trajectory.R.at(step).x[2] << endl; 199 return true; 200 } else 201 return false; 202 }; 203 189 204 ostream & operator << (ostream &ost, const atom &a) 190 205 {
Note:
See TracChangeset
for help on using the changeset viewer.
