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