Changes in src/atom.cpp [36166d:ad2b411]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/atom.cpp
r36166d rad2b411 12 12 #include "element.hpp" 13 13 #include "lists.hpp" 14 #include "memoryallocator.hpp" 14 15 #include "parser.hpp" 15 16 #include "vector.hpp" 16 17 #include "World.hpp" 17 18 #include "molecule.hpp" 18 #include "Shapes/Shape.hpp"19 20 #include <iomanip>21 19 22 20 /************************************* Functions for class atom *************************************/ … … 114 112 * \return true - is inside, false - is not 115 113 */ 116 bool atom::IsIn Shape(const Shape& shape) const117 { 118 return shape.isInside(*node);114 bool atom::IsInParallelepiped(const Vector offset, const double *parallelepiped) const 115 { 116 return (node->IsInParallelepiped(offset, parallelepiped)); 119 117 }; 120 118 … … 161 159 * \return true - \a *out present, false - \a *out is NULL 162 160 */ 163 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 164 162 { 165 163 AtomNo[type->Z]++; // increment number … … 238 236 * \param *AtomNo pointer to atom counter that is increased by one 239 237 */ 240 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 241 239 { 242 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.