Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ellipsoid.cpp

    r952f38 rd74077  
    1515#include <set>
    1616
     17#include "BoundaryPointSet.hpp"
    1718#include "boundary.hpp"
    1819#include "ellipsoid.hpp"
    1920#include "linkedcell.hpp"
    20 #include "Helpers/Log.hpp"
     21#include "log.hpp"
    2122#include "tesselation.hpp"
    22 #include "LinearAlgebra/Vector.hpp"
    23 #include "LinearAlgebra/Matrix.hpp"
    24 #include "Helpers/Verbose.hpp"
     23#include "vector.hpp"
     24#include "Matrix.hpp"
     25#include "verbose.hpp"
    2526
    2627/** Determines squared distance for a given point \a x to surface of ellipsoid.
     
    304305              if ((current != PickedAtomNrs.end()) && (*current == index)) {
    305306                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
     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
    308309                current++;    // next pre-picked atom
    309310              }
     
    351352      //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": ";
    352353      if (value > threshold) {
    353         x[PointsPicked] = (*Runner->second->node->node);
     354        x[PointsPicked] = (Runner->second->node->getPosition());
    354355        PointsPicked++;
    355356        //Log() << Verbose(0) << "IN." << endl;
     
    388389  Center.Zero();
    389390  for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++)
    390     Center += (*Runner->second->node->node);
     391    Center += (Runner->second->node->getPosition());
    391392  Center.Scale(1./T->PointsOnBoundaryCount);
    392393  DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.