Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/molecule_graph.cpp

    r952f38 rbf3817  
    66 */
    77
     8// include config.h
    89#ifdef HAVE_CONFIG_H
    910#include <config.h>
     
    184185                          //Log() << Verbose(1) << "Checking distance " << OtherWalker->x.PeriodicDistanceSquared(&(Walker->x), cell_size) << " against typical bond length of " << bonddistance*bonddistance << "." << endl;
    185186                          (BG->*minmaxdistance)(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem);
    186                           const double distance = domain.periodicDistanceSquared(OtherWalker->x,Walker->x);
     187                          const double distance = domain.periodicDistanceSquared(OtherWalker->getPosition(),Walker->getPosition());
    187188                          const bool status = (distance <= MaxDistance * MaxDistance) && (distance >= MinDistance * MinDistance);
    188189//                          Log() << Verbose(1) << "MinDistance is " << MinDistance << " and MaxDistance is " << MaxDistance << "." << endl;
     
    737738        OtherAtom = (*Runner)->GetOtherAtom(Walker);
    738739#ifdef ADDHYDROGEN
    739         if (OtherAtom->type->Z != 1) {
     740        if (OtherAtom->getType()->Z != 1) {
    740741#endif
    741742        DoLog(2) && (Log() << Verbose(2) << "Current OtherAtom is: " << OtherAtom->getName() << " for bond " << *(*Runner) << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.