Changes in src/atom.cpp [c550dd:ad2b411]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/atom.cpp
rc550dd rad2b411 17 17 #include "World.hpp" 18 18 #include "molecule.hpp" 19 #include "Shapes/Shape.hpp"20 19 21 20 /************************************* Functions for class atom *************************************/ … … 113 112 * \return true - is inside, false - is not 114 113 */ 115 bool atom::IsIn Shape(const Shape& shape) const116 { 117 return shape.isInside(*node);114 bool atom::IsInParallelepiped(const Vector offset, const double *parallelepiped) const 115 { 116 return (node->IsInParallelepiped(offset, parallelepiped)); 118 117 }; 119 118 … … 160 159 * \return true - \a *out present, false - \a *out is NULL 161 160 */ 162 bool atom::OutputArrayIndexed(o stream * const out, const int *ElementNo, int *AtomNo, const char *comment) const161 bool atom::OutputArrayIndexed(ofstream * const out, const int *ElementNo, int *AtomNo, const char *comment) const 163 162 { 164 163 AtomNo[type->Z]++; // increment number … … 237 236 * \param *AtomNo pointer to atom counter that is increased by one 238 237 */ 239 void atom::OutputMPQCLine(o stream * const out, const Vector *center, int *AtomNo = NULL) const238 void atom::OutputMPQCLine(ofstream * const out, const Vector *center, int *AtomNo = NULL) const 240 239 { 241 240 *out << "\t\t" << type->symbol << " [ " << x[0]-center->at(0) << "\t" << x[1]-center->at(1) << "\t" << x[2]-center->at(2) << " ]" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.