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