Changes in src/molecule_graph.cpp [bf3817:952f38]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/molecule_graph.cpp
rbf3817 r952f38 6 6 */ 7 7 8 // include config.h9 8 #ifdef HAVE_CONFIG_H 10 9 #include <config.h> … … 185 184 //Log() << Verbose(1) << "Checking distance " << OtherWalker->x.PeriodicDistanceSquared(&(Walker->x), cell_size) << " against typical bond length of " << bonddistance*bonddistance << "." << endl; 186 185 (BG->*minmaxdistance)(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem); 187 const double distance = domain.periodicDistanceSquared(OtherWalker-> getPosition(),Walker->getPosition());186 const double distance = domain.periodicDistanceSquared(OtherWalker->x,Walker->x); 188 187 const bool status = (distance <= MaxDistance * MaxDistance) && (distance >= MinDistance * MinDistance); 189 188 // Log() << Verbose(1) << "MinDistance is " << MinDistance << " and MaxDistance is " << MaxDistance << "." << endl; … … 738 737 OtherAtom = (*Runner)->GetOtherAtom(Walker); 739 738 #ifdef ADDHYDROGEN 740 if (OtherAtom-> getType()->Z != 1) {739 if (OtherAtom->type->Z != 1) { 741 740 #endif 742 741 DoLog(2) && (Log() << Verbose(2) << "Current OtherAtom is: " << OtherAtom->getName() << " for bond " << *(*Runner) << "." << endl);
Note:
See TracChangeset
for help on using the changeset viewer.