Changes in src/ellipsoid.cpp [952f38:bcf653]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/ellipsoid.cpp ¶
r952f38 rbcf653 1 /* 2 * Project: MoleCuilder 3 * Description: creates and alters molecular systems 4 * Copyright (C) 2010 University of Bonn. All rights reserved. 5 * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. 6 */ 7 1 8 /* 2 9 * ellipsoid.cpp … … 6 13 */ 7 14 15 // include config.h 16 #ifdef HAVE_CONFIG_H 17 #include <config.h> 18 #endif 19 8 20 #include "Helpers/MemDebug.hpp" 9 21 … … 15 27 #include <set> 16 28 29 #include "BoundaryPointSet.hpp" 17 30 #include "boundary.hpp" 18 31 #include "ellipsoid.hpp" … … 304 317 if ((current != PickedAtomNrs.end()) && (*current == index)) { 305 318 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 picked319 DoLog(2) && (Log() << Verbose(2) << "Current picked node is " << (*Runner)->getName() << " with index " << index << "." << endl); 320 x[PointsPicked++] = Candidate->getPosition(); // we have one more atom picked 308 321 current++; // next pre-picked atom 309 322 } … … 351 364 //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": "; 352 365 if (value > threshold) { 353 x[PointsPicked] = ( *Runner->second->node->node);366 x[PointsPicked] = (Runner->second->node->getPosition()); 354 367 PointsPicked++; 355 368 //Log() << Verbose(0) << "IN." << endl; … … 388 401 Center.Zero(); 389 402 for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++) 390 Center += ( *Runner->second->node->node);403 Center += (Runner->second->node->getPosition()); 391 404 Center.Scale(1./T->PointsOnBoundaryCount); 392 405 DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note:
See TracChangeset
for help on using the changeset viewer.