Ignore:
Timestamp:
Apr 28, 2021, 10:02:49 PM (4 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_getFromKeyset.cpp

    r5aa337 r999eaf  
    135135    return getNodesFromSet<size_t>(keyset);
    136136  }
     137  const HomologyGraph::nodes_t getNodesFromAtomIds(const AtomIdSet::atomIdSet &keyset) {
     138    return getNodesFromSet<atomId_t>(keyset);
     139  }
    137140  const HomologyGraph::edges_t getEdgesFromKeySet(const KeySet &keyset) {
    138141    return getEdgesFromSet<int>(keyset);
     
    141144    return getEdgesFromSet<size_t>(keyset);
    142145  }
     146  const HomologyGraph::edges_t getEdgesFromAtomIds(const AtomIdSet::atomIdSet &keyset) {
     147    return getEdgesFromSet<atomId_t>(keyset);
     148  }
    143149};  /* namespace detail */
    144150
Note: See TracChangeset for help on using the changeset viewer.