Ignore:
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
    18/*
    29 * ellipsoid.cpp
     
    613 */
    714
     15// include config.h
     16#ifdef HAVE_CONFIG_H
     17#include <config.h>
     18#endif
     19
    820#include "Helpers/MemDebug.hpp"
    921
     
    1527#include <set>
    1628
     29#include "BoundaryPointSet.hpp"
    1730#include "boundary.hpp"
    1831#include "ellipsoid.hpp"
     
    304317              if ((current != PickedAtomNrs.end()) && (*current == index)) {
    305318                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 picked
     319                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
    308321                current++;    // next pre-picked atom
    309322              }
     
    351364      //Log() << Verbose(3) << "Current node is " << *Runner->second->node << " with " << value << " ... " << threshold << ": ";
    352365      if (value > threshold) {
    353         x[PointsPicked] = (*Runner->second->node->node);
     366        x[PointsPicked] = (Runner->second->node->getPosition());
    354367        PointsPicked++;
    355368        //Log() << Verbose(0) << "IN." << endl;
     
    388401  Center.Zero();
    389402  for (PointMap::iterator Runner = T->PointsOnBoundary.begin(); Runner != T->PointsOnBoundary.end(); Runner++)
    390     Center += (*Runner->second->node->node);
     403    Center += (Runner->second->node->getPosition());
    391404  Center.Scale(1./T->PointsOnBoundaryCount);
    392405  DoLog(1) && (Log() << Verbose(1) << "Center is at " << Center << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.