Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ellipsoid.cpp

    r952f38 rbf3817  
    66 */
    77
     8// include config.h
     9#ifdef HAVE_CONFIG_H
     10#include <config.h>
     11#endif
     12
    813#include "Helpers/MemDebug.hpp"
    914
     
    1520#include <set>
    1621
     22#include "BoundaryPointSet.hpp"
    1723#include "boundary.hpp"
    1824#include "ellipsoid.hpp"
     
    304310              if ((current != PickedAtomNrs.end()) && (*current == index)) {
    305311                Candidate = (*Runner);
    306                 DoLog(2) && (Log() << Verbose(2) << "Current picked node is " << **Runner << " with index " << index << "." << endl);
    307                 x[PointsPicked++] = *Candidate->node;    // we have one more atom picked
     312                DoLog(2) && (Log() << Verbose(2) << "Current picked node is " << (*Runner)->getName() << " with index " << index << "." << endl);
     313                x[PointsPicked++] = Candidate->getPosition();    // we have one more atom picked
    308314                current++;    // next pre-picked atom
    309315              }
     
    351357      //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": ";
    352358      if (value > threshold) {
    353         x[PointsPicked] = (*Runner->second->node->node);
     359        x[PointsPicked] = (Runner->second->node->getPosition());
    354360        PointsPicked++;
    355361        //Log() << Verbose(0) << "IN." << endl;
     
    388394  Center.Zero();
    389395  for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++)
    390     Center += (*Runner->second->node->node);
     396    Center += (Runner->second->node->getPosition());
    391397  Center.Scale(1./T->PointsOnBoundaryCount);
    392398  DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.