Changes in src/bond.cpp [952f38:d74077]
- File:
-
- 1 edited
-
src/bond.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/bond.cpp
r952f38 rd74077 7 7 #include "Helpers/MemDebug.hpp" 8 8 9 #include "Helpers/Verbose.hpp"10 9 #include "atom.hpp" 11 10 #include "bond.hpp" 12 11 #include "element.hpp" 13 12 #include "lists.hpp" 13 #include "log.hpp" 14 #include "verbose.hpp" 14 15 15 16 … … 35 36 { 36 37 if ((left != NULL) && (right != NULL)) { 37 if ((left-> type != NULL) && (left->type->Z == 1))38 if ((left->getType() != NULL) && (left->getType()->Z == 1)) 38 39 HydrogenBond++; 39 if ((right-> type != NULL) && (right->type->Z == 1))40 if ((right->getType() != NULL) && (right->getType()->Z == 1)) 40 41 HydrogenBond++; 41 42 } … … 126 127 double bond::GetDistance() const 127 128 { 128 return (leftatom-> node->distance(*rightatom->node));129 return (leftatom->distance(*rightatom)); 129 130 }; 130 131 … … 134 135 double bond::GetDistanceSquared() const 135 136 { 136 return (leftatom-> node->DistanceSquared(*rightatom->node));137 return (leftatom->DistanceSquared(*rightatom)); 137 138 };
Note:
See TracChangeset
for help on using the changeset viewer.
