Changes in src/ellipsoid.cpp [bf3817:952f38]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ellipsoid.cpp
rbf3817 r952f38 6 6 */ 7 7 8 // include config.h9 #ifdef HAVE_CONFIG_H10 #include <config.h>11 #endif12 13 8 #include "Helpers/MemDebug.hpp" 14 9 … … 20 15 #include <set> 21 16 22 #include "BoundaryPointSet.hpp"23 17 #include "boundary.hpp" 24 18 #include "ellipsoid.hpp" … … 310 304 if ((current != PickedAtomNrs.end()) && (*current == index)) { 311 305 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 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 314 308 current++; // next pre-picked atom 315 309 } … … 357 351 //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": "; 358 352 if (value > threshold) { 359 x[PointsPicked] = ( Runner->second->node->getPosition());353 x[PointsPicked] = (*Runner->second->node->node); 360 354 PointsPicked++; 361 355 //Log() << Verbose(0) << "IN." << endl; … … 394 388 Center.Zero(); 395 389 for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++) 396 Center += ( Runner->second->node->getPosition());390 Center += (*Runner->second->node->node); 397 391 Center.Scale(1./T->PointsOnBoundaryCount); 398 392 DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note:
See TracChangeset
for help on using the changeset viewer.