Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ellipsoid.cpp

    rd74077 r952f38  
    1515#include <set>
    1616
    17 #include "BoundaryPointSet.hpp"
    1817#include "boundary.hpp"
    1918#include "ellipsoid.hpp"
    2019#include "linkedcell.hpp"
    21 #include "log.hpp"
     20#include "Helpers/Log.hpp"
    2221#include "tesselation.hpp"
    23 #include "vector.hpp"
    24 #include "Matrix.hpp"
    25 #include "verbose.hpp"
     22#include "LinearAlgebra/Vector.hpp"
     23#include "LinearAlgebra/Matrix.hpp"
     24#include "Helpers/Verbose.hpp"
    2625
    2726/** Determines squared distance for a given point \a x to surface of ellipsoid.
     
    305304              if ((current != PickedAtomNrs.end()) && (*current == index)) {
    306305                Candidate = (*Runner);
    307                 DoLog(2) && (Log() << Verbose(2) << "Current picked node is " << (*Runner)->getName() << " with index " << index << "." << endl);
    308                 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
    309308                current++;    // next pre-picked atom
    310309              }
     
    352351      //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": ";
    353352      if (value > threshold) {
    354         x[PointsPicked] = (Runner->second->node->getPosition());
     353        x[PointsPicked] = (*Runner->second->node->node);
    355354        PointsPicked++;
    356355        //Log() << Verbose(0) << "IN." << endl;
     
    389388  Center.Zero();
    390389  for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++)
    391     Center += (Runner->second->node->getPosition());
     390    Center += (*Runner->second->node->node);
    392391  Center.Scale(1./T->PointsOnBoundaryCount);
    393392  DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.