Changes in src/bondgraph.cpp [d74077:952f38]
- File:
-
- 1 edited
-
src/bondgraph.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/bondgraph.cpp
rd74077 r952f38 14 14 #include "bondgraph.hpp" 15 15 #include "element.hpp" 16 #include " info.hpp"17 #include " verbose.hpp"18 #include " log.hpp"16 #include "Helpers/Info.hpp" 17 #include "Helpers/Verbose.hpp" 18 #include "Helpers/Log.hpp" 19 19 #include "molecule.hpp" 20 20 #include "parser.hpp" 21 21 #include "periodentafel.hpp" 22 #include " vector.hpp"22 #include "LinearAlgebra/Vector.hpp" 23 23 24 24 /** Constructor of class BondGraph. … … 128 128 129 129 for (molecule::const_iterator iter = mol->begin(); iter != mol->end(); ++iter) { 130 if ((*iter)-> getType()->CovalentRadius > max_distance)131 max_distance = (*iter)-> getType()->CovalentRadius;130 if ((*iter)->type->CovalentRadius > max_distance) 131 max_distance = (*iter)->type->CovalentRadius; 132 132 } 133 133 max_distance *= 2.; … … 145 145 void BondGraph::CovalentMinMaxDistance(BondedParticle * const Walker, BondedParticle * const OtherWalker, double &MinDistance, double &MaxDistance, bool IsAngstroem) 146 146 { 147 MinDistance = OtherWalker-> getType()->CovalentRadius + Walker->getType()->CovalentRadius;147 MinDistance = OtherWalker->type->CovalentRadius + Walker->type->CovalentRadius; 148 148 MinDistance *= (IsAngstroem) ? 1. : 1. / AtomicLengthToAngstroem; 149 149 MaxDistance = MinDistance + BONDTHRESHOLD; … … 166 166 CovalentMinMaxDistance(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem); 167 167 } else { 168 MinDistance = GetBondLength(Walker-> getType()->Z-1, OtherWalker->getType()->Z-1);168 MinDistance = GetBondLength(Walker->type->Z-1, OtherWalker->type->Z-1); 169 169 MinDistance *= (IsAngstroem) ? 1. : 1. / AtomicLengthToAngstroem; 170 170 MaxDistance = MinDistance + BONDTHRESHOLD;
Note:
See TracChangeset
for help on using the changeset viewer.
