.. index:: pair: struct; aux::EndpointAlignResult .. _doxid-structaux_1_1_endpoint_align_result: struct aux::EndpointAlignResult =============================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct EndpointAlignResult { // fields bool :ref:`available` = false; bool :ref:`applied` = false; bool :ref:`identity` = false; double :ref:`hausdorff` = 0.0; int :ref:`error` = 0; std::vector :ref:`permutation`; Eigen::VectorXd :ref:`aligned`; std::array :ref:`rotation` {1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0}; std::array :target:`translation` {0.0, 0.0, 0.0}; const char* :ref:`method` = "none"; int :ref:`bond_changes_identity` = 0; int :ref:`bond_changes_assigned` = 0; bool :ref:`bond_graph_kept_identity` = false; }; .. _details-structaux_1_1_endpoint_align_result: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Fields ------ .. index:: pair: variable; available .. _doxid-structaux_1_1_endpoint_align_result_1a715be47768ff6eca72da5c726428d7d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool available = false built with WITH_IRA and libira linked .. index:: pair: variable; applied .. _doxid-structaux_1_1_endpoint_align_result_1ae79d034798848ca55460aa53a9d3b3b4: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool applied = false libira_match succeeded (error == 0) .. index:: pair: variable; identity .. _doxid-structaux_1_1_endpoint_align_result_1a4167f1729b3bbf75ead315eb929f4efb: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool identity = false identity assignment found: the caller MUST keep the original product coordinates (bit-equal pass-through) .. index:: pair: variable; hausdorff .. _doxid-structaux_1_1_endpoint_align_result_1aaa78a37ac38d750bd41f64ee32e04834: .. ref-code-block:: cpp :class: doxyrest-title-code-block double hausdorff = 0.0 Hausdorff distance after alignment. .. index:: pair: variable; error .. _doxid-structaux_1_1_endpoint_align_result_1a6f7276b8dbdc7cda0ea7bccfb393c2de: .. ref-code-block:: cpp :class: doxyrest-title-code-block int error = 0 0 on success; libira cerr or local code .. index:: pair: variable; permutation .. _doxid-structaux_1_1_endpoint_align_result_1a8e808ccfc6b523756274c9fe3c4378cd: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector permutation 0-based map: reactant slot i takes product atom permutation[i] .. index:: pair: variable; aligned .. _doxid-structaux_1_1_endpoint_align_result_1a049f2ad25d2e4c5236086540c07ca1fe: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd aligned product mapped onto the reactant frame (flat 3N, xyzxyz); empty when identity .. index:: pair: variable; rotation .. _doxid-structaux_1_1_endpoint_align_result_1ab97a510642abb413e5b56e75562c9d2e: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::array rotation {1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0} row-major R .. index:: pair: variable; method .. _doxid-structaux_1_1_endpoint_align_result_1a2f46b1ac2849583775c5214a1c047154: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* method = "none" "ira_match" or "cshda_svd" .. index:: pair: variable; bond_changes_identity .. _doxid-structaux_1_1_endpoint_align_result_1a3b76ea9794a140f7af824f0759dd644b: .. ref-code-block:: cpp :class: doxyrest-title-code-block int bond_changes_identity = 0 covalent bond changes R->P under the input ordering .. index:: pair: variable; bond_changes_assigned .. _doxid-structaux_1_1_endpoint_align_result_1a6a1118e51eb56777759be85900a2da48: .. ref-code-block:: cpp :class: doxyrest-title-code-block int bond_changes_assigned = 0 the same under the min-distance assignment .. index:: pair: variable; bond_graph_kept_identity .. _doxid-structaux_1_1_endpoint_align_result_1ad15f5495f0843c715c5da4b0166b29eb: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool bond_graph_kept_identity = false assignment rejected: it is no symmetry of either endpoint's bond graph