Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/BondGraph.hpp

    r829761 r5e2f80  
    2020#include <iosfwd>
    2121
    22 #include <boost/serialization/array.hpp>
    23 
    2422#include "AtomSet.hpp"
    2523#include "Bond/bond.hpp"
     
    2826#include "CodePatterns/Range.hpp"
    2927#include "CodePatterns/Verbose.hpp"
    30 #include "Element/element.hpp"
    31 #include "Fragmentation/MatrixContainer.hpp"
     28#include "element.hpp"
    3229#include "linkedcell.hpp"
    3330#include "IPointCloud.hpp"
     
    6865   */
    6966  bool LoadBondLengthTable(std::istream &input);
    70 
    71   /** Removes allocated bond length table.
    72    *
    73    */
    74   void CleanupBondLengthTable();
    7567
    7668  /** Determines the maximum of all element::CovalentRadius for elements present in \a &Set.
     
    308300  }
    309301
    310   /** Equality comparator for class BondGraph.
    311    *
    312    * @param other other instance to compare to
    313    * @return true - if equal in every member variable, except static
    314    *         \a BondGraph::BondThreshold.
    315    */
    316   bool operator==(const BondGraph &other) const;
    317 
    318   /** Unequality comparator for class BondGraph.
    319    *
    320    * @param other other instance to compare to
    321    * @return false - if equal in every member variable, except static
    322    *         \a BondGraph::BondThreshold.
    323    */
    324   bool operator!=(const BondGraph &other) const {
    325     return !(*this == other);
    326   }
    327 
    328302private:
     303  static const double BondThreshold;
    329304
    330305  /** Returns the BondLengthMatrix entry for a given index pair.
     
    408383  }
    409384
    410   bool operator==(const periodentafel &other) const;
    411 
    412   bool operator!=(const periodentafel &other) const {
    413     return !(*this == other);
    414   }
    415 
    416 private:
    417   // default constructor for serialization
    418   BondGraph();
    419 
    420   friend class boost::serialization::access;
    421   // serialization
    422   template<class Archive>
    423   void serialize(Archive & ar, const unsigned int version)
    424   {
    425     //ar & const_cast<double &>(BondThreshold);
    426     ar & BondLengthMatrix;
    427     ar & IsAngstroem;
    428   }
    429 
    430   //!> half width of the interval for allowed bond distances
    431   static const double BondThreshold;
    432385  //!> Matrix with bond lenth per two elements
    433386  MatrixContainer *BondLengthMatrix;
Note: See TracChangeset for help on using the changeset viewer.