Ignore:
Timestamp:
Apr 13, 2010, 1:22:42 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
e7ea64
Parents:
0f55b2
Message:

Prepared interface of Vector Class for transition to VectorComposites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecule_graph.cpp

    r0f55b2 r1f591b  
    165165                          //Log() << Verbose(1) << "Checking distance " << OtherWalker->x.PeriodicDistanceSquared(&(Walker->x), cell_size) << " against typical bond length of " << bonddistance*bonddistance << "." << endl;
    166166                          (BG->*minmaxdistance)(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem);
    167                           const double distance = OtherWalker->x.PeriodicDistanceSquared(&(Walker->x), cell_size);
     167                          const double distance = OtherWalker->x.PeriodicDistanceSquared((Walker->x), cell_size);
    168168                          const bool status = (distance <= MaxDistance * MaxDistance) && (distance >= MinDistance * MinDistance);
    169169                          if ((OtherWalker->father->nr > Walker->father->nr) && (status)) { // create bond if distance is smaller
Note: See TracChangeset for help on using the changeset viewer.