Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/bondgraph.cpp

    rd74077 r952f38  
    1414#include "bondgraph.hpp"
    1515#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"
    1919#include "molecule.hpp"
    2020#include "parser.hpp"
    2121#include "periodentafel.hpp"
    22 #include "vector.hpp"
     22#include "LinearAlgebra/Vector.hpp"
    2323
    2424/** Constructor of class BondGraph.
     
    128128
    129129  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;
    132132  }
    133133  max_distance *= 2.;
     
    145145void BondGraph::CovalentMinMaxDistance(BondedParticle * const Walker, BondedParticle * const OtherWalker, double &MinDistance, double &MaxDistance, bool IsAngstroem)
    146146{
    147   MinDistance = OtherWalker->getType()->CovalentRadius + Walker->getType()->CovalentRadius;
     147  MinDistance = OtherWalker->type->CovalentRadius + Walker->type->CovalentRadius;
    148148  MinDistance *= (IsAngstroem) ? 1. : 1. / AtomicLengthToAngstroem;
    149149  MaxDistance = MinDistance + BONDTHRESHOLD;
     
    166166    CovalentMinMaxDistance(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem);
    167167  } else {
    168     MinDistance = GetBondLength(Walker->getType()->Z-1, OtherWalker->getType()->Z-1);
     168    MinDistance = GetBondLength(Walker->type->Z-1, OtherWalker->type->Z-1);
    169169    MinDistance *= (IsAngstroem) ? 1. : 1. / AtomicLengthToAngstroem;
    170170    MaxDistance = MinDistance + BONDTHRESHOLD;
Note: See TracChangeset for help on using the changeset viewer.