Changes in src/ellipsoid.cpp [d74077:952f38]
- File:
-
- 1 edited
-
src/ellipsoid.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ellipsoid.cpp
rd74077 r952f38 15 15 #include <set> 16 16 17 #include "BoundaryPointSet.hpp"18 17 #include "boundary.hpp" 19 18 #include "ellipsoid.hpp" 20 19 #include "linkedcell.hpp" 21 #include " log.hpp"20 #include "Helpers/Log.hpp" 22 21 #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" 26 25 27 26 /** Determines squared distance for a given point \a x to surface of ellipsoid. … … 305 304 if ((current != PickedAtomNrs.end()) && (*current == index)) { 306 305 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 picked306 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 309 308 current++; // next pre-picked atom 310 309 } … … 352 351 //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": "; 353 352 if (value > threshold) { 354 x[PointsPicked] = ( Runner->second->node->getPosition());353 x[PointsPicked] = (*Runner->second->node->node); 355 354 PointsPicked++; 356 355 //Log() << Verbose(0) << "IN." << endl; … … 389 388 Center.Zero(); 390 389 for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++) 391 Center += ( Runner->second->node->getPosition());390 Center += (*Runner->second->node->node); 392 391 Center.Scale(1./T->PointsOnBoundaryCount); 393 392 DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note:
See TracChangeset
for help on using the changeset viewer.
