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