Ignore:
Timestamp:
Apr 28, 2021, 10:02:49 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
6b7765
Parents:
5aa337
git-author:
Frederik Heber <frederik.heber@…> (04/18/21 08:23:36)
git-committer:
Frederik Heber <frederik.heber@…> (04/28/21 22:02:49)
Message:

Added EvaluateStabilityAction to estimate a molecule's stability.

  • removes every bond and checks the energies of the products against the educt equipped with enough hydrogen molecules to compensate for the cut bond times its degree.
  • outputs a CSV file with entries per bond.
  • extended HomologyGraph to allow direct use of AtomIdSet, i.e. atomic ids coming from a selection in the World or from the molecule.
  • DOCU: Added subsection on this action to section homology.
  • TEST: Added regression test case.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Homology/HomologyGraph.hpp

    r5aa337 r999eaf  
    2121#include <iosfwd>
    2222
     23#include "AtomIdSet.hpp"
    2324#include "Fragmentation/Homology/FragmentEdge.hpp"
    2425#include "Fragmentation/Homology/FragmentNode.hpp"
     
    7980  explicit HomologyGraph(const IndexSet &index);
    8081
     82  /** Constructor for class HomologyGraph from a AtomIdSet (i.e. from atoms in the World).
     83   *
     84   * @param index global ids of atoms to pick
     85   */
     86  explicit HomologyGraph(const AtomIdSet::atomIdSet &index);
     87
    8188  /** Destructor for class HomologyGraph.
    8289   *
     
    200207  const HomologyGraph::nodes_t getNodesFromIndexSet(const IndexSet &keyset);
    201208  const HomologyGraph::edges_t getEdgesFromIndexSet(const IndexSet &keyset);
     209  const HomologyGraph::nodes_t getNodesFromAtomIds(const AtomIdSet::atomIdSet &keyset);
     210  const HomologyGraph::edges_t getEdgesFromAtomIds(const AtomIdSet::atomIdSet &keyset);
    202211};
    203212
Note: See TracChangeset for help on using the changeset viewer.