Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom.cpp

    rc550dd rad2b411  
    1717#include "World.hpp"
    1818#include "molecule.hpp"
    19 #include "Shapes/Shape.hpp"
    2019
    2120/************************************* Functions for class atom *************************************/
     
    113112 * \return true - is inside, false - is not
    114113 */
    115 bool atom::IsInShape(const Shape& shape) const
    116 {
    117   return shape.isInside(*node);
     114bool atom::IsInParallelepiped(const Vector offset, const double *parallelepiped) const
     115{
     116  return (node->IsInParallelepiped(offset, parallelepiped));
    118117};
    119118
     
    160159  * \return true - \a *out present, false - \a *out is NULL
    161160 */
    162 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
    163162{
    164163  AtomNo[type->Z]++;  // increment number
     
    237236 * \param *AtomNo pointer to atom counter that is increased by one
    238237 */
    239 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
    240239{
    241240  *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.