Ignore:
Timestamp:
Aug 20, 2014, 1:06:47 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
d635829
Parents:
ce0ca4
git-author:
Frederik Heber <heber@…> (07/18/14 17:08:09)
git-committer:
Frederik Heber <heber@…> (08/20/14 13:06:47)
Message:

SaturatedFragment can deal with a global saturation position map.

  • so far, we create an empty one in FragmentationAction such that nothing's changed for the moment.
  • similarly in StoreSaturatedFragmentAction. However, there this is intended as only local information is required (it's only a single fragment).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/ExportGraph_ToFiles.cpp

    rce0ca4 rf5fa48  
    5757 * @param _treatment whether to always add already present hydrogens or not
    5858 * @param _saturation whether to saturate dangling bonds with hydrogen or not
     59 * @param _globalsaturationpositions possibly empty map with global information
     60 *        where to place saturation hydrogens to fulfill consistency principle
    5961 */
    6062ExportGraph_ToFiles::ExportGraph_ToFiles(
    6163    const Graph &_graph,
    6264    const enum HydrogenTreatment _treatment,
    63     const enum HydrogenSaturation _saturation) :
    64                 ExportGraph(_graph, _treatment, _saturation)
     65    const enum HydrogenSaturation _saturation,
     66    const SaturatedFragment::GlobalSaturationPositions_t &_globalsaturationpositions) :
     67                ExportGraph(_graph, _treatment, _saturation, _globalsaturationpositions)
    6568{}
    6669
Note: See TracChangeset for help on using the changeset viewer.