Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom.cpp

    r36166d rad2b411  
    1212#include "element.hpp"
    1313#include "lists.hpp"
     14#include "memoryallocator.hpp"
    1415#include "parser.hpp"
    1516#include "vector.hpp"
    1617#include "World.hpp"
    1718#include "molecule.hpp"
    18 #include "Shapes/Shape.hpp"
    19 
    20 #include <iomanip>
    2119
    2220/************************************* Functions for class atom *************************************/
     
    114112 * \return true - is inside, false - is not
    115113 */
    116 bool atom::IsInShape(const Shape& shape) const
    117 {
    118   return shape.isInside(*node);
     114bool atom::IsInParallelepiped(const Vector offset, const double *parallelepiped) const
     115{
     116  return (node->IsInParallelepiped(offset, parallelepiped));
    119117};
    120118
     
    161159  * \return true - \a *out present, false - \a *out is NULL
    162160 */
    163 bool atom::OutputArrayIndexed(ostream * const out, const int *ElementNo, int *AtomNo, const char *comment) const
     161bool atom::OutputArrayIndexed(ofstream * const out, const int *ElementNo, int *AtomNo, const char *comment) const
    164162{
    165163  AtomNo[type->Z]++;  // increment number
     
    238236 * \param *AtomNo pointer to atom counter that is increased by one
    239237 */
    240 void atom::OutputMPQCLine(ostream * const out, const Vector *center, int *AtomNo = NULL) const
     238void atom::OutputMPQCLine(ofstream * const out, const Vector *center, int *AtomNo = NULL) const
    241239{
    242240  *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.