Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ellipsoid.cpp

    rbf3817 r952f38  
    66 */
    77
    8 // include config.h
    9 #ifdef HAVE_CONFIG_H
    10 #include <config.h>
    11 #endif
    12 
    138#include "Helpers/MemDebug.hpp"
    149
     
    2015#include <set>
    2116
    22 #include "BoundaryPointSet.hpp"
    2317#include "boundary.hpp"
    2418#include "ellipsoid.hpp"
     
    310304              if ((current != PickedAtomNrs.end()) && (*current == index)) {
    311305                Candidate = (*Runner);
    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
     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
    314308                current++;    // next pre-picked atom
    315309              }
     
    357351      //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": ";
    358352      if (value > threshold) {
    359         x[PointsPicked] = (Runner->second->node->getPosition());
     353        x[PointsPicked] = (*Runner->second->node->node);
    360354        PointsPicked++;
    361355        //Log() << Verbose(0) << "IN." << endl;
     
    394388  Center.Zero();
    395389  for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++)
    396     Center += (Runner->second->node->getPosition());
     390    Center += (*Runner->second->node->node);
    397391  Center.Scale(1./T->PointsOnBoundaryCount);
    398392  DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.