Changes in src/molecule_graph.cpp [952f38:d74077]
- File:
-
- 1 edited
-
src/molecule_graph.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/molecule_graph.cpp
r952f38 rd74077 18 18 #include "defs.hpp" 19 19 #include "element.hpp" 20 #include " Helpers/helpers.hpp"21 #include " Helpers/Info.hpp"20 #include "helpers.hpp" 21 #include "info.hpp" 22 22 #include "linkedcell.hpp" 23 23 #include "lists.hpp" 24 #include " Helpers/Verbose.hpp"25 #include " Helpers/Log.hpp"24 #include "verbose.hpp" 25 #include "log.hpp" 26 26 #include "molecule.hpp" 27 27 #include "World.hpp" 28 28 #include "Helpers/fast_functions.hpp" 29 29 #include "Helpers/Assert.hpp" 30 #include " LinearAlgebra/Matrix.hpp"30 #include "Matrix.hpp" 31 31 #include "Box.hpp" 32 32 #include "stackclass.hpp" … … 184 184 //Log() << Verbose(1) << "Checking distance " << OtherWalker->x.PeriodicDistanceSquared(&(Walker->x), cell_size) << " against typical bond length of " << bonddistance*bonddistance << "." << endl; 185 185 (BG->*minmaxdistance)(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem); 186 const double distance = domain.periodicDistanceSquared(OtherWalker-> x,Walker->x);186 const double distance = domain.periodicDistanceSquared(OtherWalker->getPosition(),Walker->getPosition()); 187 187 const bool status = (distance <= MaxDistance * MaxDistance) && (distance >= MinDistance * MinDistance); 188 188 // Log() << Verbose(1) << "MinDistance is " << MinDistance << " and MaxDistance is " << MaxDistance << "." << endl; … … 737 737 OtherAtom = (*Runner)->GetOtherAtom(Walker); 738 738 #ifdef ADDHYDROGEN 739 if (OtherAtom-> type->Z != 1) {739 if (OtherAtom->getType()->Z != 1) { 740 740 #endif 741 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.
