Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/SaturatedFragment.hpp

    r98a293b rc39675  
    1818#include <string>
    1919
    20 #include "Atom/atom_bondedparticleinfo.hpp"
    2120#include "Bond/bond.hpp"
    2221#include "Fragmentation/KeySet.hpp"
    2322#include "Fragmentation/HydrogenSaturation_enum.hpp"
    2423#include "Parser/FormatParserStorage.hpp"
    25 
    26 #include "LinearAlgebra/Vector.hpp"
    2724
    2825class atom;
     
    4542  typedef std::set<KeySet> KeySetsInUse_t;
    4643
    47   //!> List of points giving saturation positions for a single bond neighbor
    48   typedef std::list<Vector> SaturationsPositions_t;
    49   //!> map for one atom, containing the saturation points for all its neighbors
    50   typedef std::map<int, SaturationsPositions_t> SaturationsPositionsPerNeighbor_t;
    51   //!> containing the saturation points over all desired atoms required
    52   typedef std::map<int, SaturationsPositionsPerNeighbor_t> GlobalSaturationPositions_t;
    53 
    5444  /** Constructor of SaturatedFragment requires \a set which we are tightly
    5545   * associated.
     
    5848   * \param _container container to add KeySet as in-use
    5949   * \param _hydrogens pool with hydrogens for saturation
    60    * \param _globalsaturationpositions saturation positions to be used
    6150   */
    6251  SaturatedFragment(
     
    6554      HydrogenPool &_hydrogens,
    6655      const enum HydrogenTreatment _treatment,
    67       const enum HydrogenSaturation saturation,
    68       const GlobalSaturationPositions_t &_globalsaturationpositions);
     56      const enum HydrogenSaturation saturation);
    6957
    7058  /** Destructor of class SaturatedFragment.
     
    112100  /** Helper function to lease and bring in place saturation hydrogens.
    113101   *
    114    * Here, we use local information to calculate saturation positions.
    115    *
    116102   */
    117103  void saturate();
    118 
    119   /** Helper function to lease and bring in place saturation hydrogens.
    120    *
    121    * Here, saturation positions have to be calculated before and are fully
    122    * stored in \a _globalsaturationpositions.
    123    *
    124    * \param_globalsaturationpositions
    125    */
    126   void saturate(const GlobalSaturationPositions_t &_globalsaturationpositions);
    127 
    128   /** Replaces all cut bonds with respect to the given atom by hydrogens.
    129    *
    130    * \param _atom atom whose cut bonds to saturate
    131    * \param _cutbonds list of cut bonds for \a _atom
    132    * \return true - bonds saturated, false - something went wrong
    133    */
    134   bool saturateAtom(atom * const _atom, const BondList &_cutbonds);
    135104
    136105  /** Helper function to get a hydrogen replacement for a given \a replacement.
     
    140109   */
    141110  atom * const getHydrogenReplacement(atom * const replacement);
    142 
    143   /** Sets a saturation hydrogen at the given position in place of \a _father.
    144    *
    145    * \param _OwnerAtom atom "owning" the hydrogen (i.e. the one getting saturated)
    146    * \param _position new position relative to \a _OwnerAtom
    147    * \param _distance scale factor to the distance (default 1.)
    148    * \param _father bond partner of \a _OwnerAtom that is replaced
    149    */
    150   const atom& setHydrogenReplacement(
    151       const atom * const _OwnerAtom,
    152       const Vector &_position,
    153       const double _distance,
    154       atom * const _father);
    155111
    156112  /** Leases and adds a Hydrogen atom in replacement for the given atom \a *partner in bond with a *origin.
Note: See TracChangeset for help on using the changeset viewer.