.. index:: pair: struct; gpr::optim::EndpointConnectivityReport .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report: struct gpr::optim::EndpointConnectivityReport ============================================= .. toctree:: :hidden: Overview ~~~~~~~~ Downhill ends of a saddle, compared with the endpoints after those endpoints have been relaxed on the same surface. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct EndpointConnectivityReport { // fields bool :target:`reported` = false; bool :ref:`connected` = false; bool :ref:`graph_connected` = false; bool :ref:`graph_applicable` = true; bool :ref:`ball_applicable` = true; bool :ref:`ball_matched` = false; bool :ref:`ambiguous` = false; bool :ref:`unresolved` = false; bool :ref:`skipped` = false; double :target:`separation` = std::numeric_limits::quiet_NaN(); double :target:`reactant_ball` = std::numeric_limits::quiet_NaN(); double :target:`product_ball` = std::numeric_limits::quiet_NaN(); double :target:`lambda_reactant` = std::numeric_limits::quiet_NaN(); double :target:`lambda_product` = std::numeric_limits::quiet_NaN(); double :target:`lowest_reactant` = std::numeric_limits::quiet_NaN(); double :target:`lowest_product` = std::numeric_limits::quiet_NaN(); double :target:`resolution_reactant` = std::numeric_limits::quiet_NaN(); double :target:`resolution_product` = std::numeric_limits::quiet_NaN(); double :ref:`saddle_curvature` = std::numeric_limits::quiet_NaN(); bool :ref:`saddle_index_measured` = true; double :ref:`directional_curvature` = std::numeric_limits::quiet_NaN(); bool :ref:`measured_index` = false; int :target:`index_negative` = 0; int :target:`index_unresolved` = 0; bool :target:`index_first_order` = false; bool :target:`index_higher_order` = false; double :target:`index_resolution` = std::numeric_limits::quiet_NaN(); int :target:`index_calls` = 0; double :target:`forward_reactant` = std::numeric_limits::quiet_NaN(); double :target:`forward_product` = std::numeric_limits::quiet_NaN(); double :target:`reverse_reactant` = std::numeric_limits::quiet_NaN(); double :target:`reverse_product` = std::numeric_limits::quiet_NaN(); double :target:`deposited_forward_reactant` = std::numeric_limits::quiet_NaN(); double :target:`deposited_forward_product` = std::numeric_limits::quiet_NaN(); double :target:`deposited_reverse_reactant` = std::numeric_limits::quiet_NaN(); double :target:`deposited_reverse_product` = std::numeric_limits::quiet_NaN(); double :target:`forward_force` = std::numeric_limits::quiet_NaN(); double :target:`reverse_force` = std::numeric_limits::quiet_NaN(); int :ref:`forward_calls` = 0; int :target:`reverse_calls` = 0; int :ref:`forward_steps` = 0; int :target:`reverse_steps` = 0; int :target:`calls` = 0; int :ref:`calls_deposit` = 0; int :target:`calls_endpoint_check` = 0; int :target:`calls_saddle` = 0; int :target:`calls_descent` = 0; int :target:`calls_polish` = 0; int :target:`calls_end_check` = 0; int :target:`calls_energy` = 0; double :ref:`oracle_seconds` = 0; double :target:`match_seconds` = 0; double :target:`reactant_energy` = std::numeric_limits::quiet_NaN(); double :target:`product_energy` = std::numeric_limits::quiet_NaN(); double :target:`forward_energy` = std::numeric_limits::quiet_NaN(); double :target:`reverse_energy` = std::numeric_limits::quiet_NaN(); Eigen::VectorXd :ref:`saddle_positions`; Eigen::VectorXd :target:`mode`; double :target:`kick` = std::numeric_limits::quiet_NaN(); Eigen::VectorXd :target:`forward_position`; Eigen::VectorXd :target:`reverse_position`; double :target:`walk_separation` = std::numeric_limits::quiet_NaN(); double :ref:`comparison_tolerance` = std::numeric_limits::quiet_NaN(); std::string :ref:`reactant_bonds`; std::string :target:`product_bonds`; std::string :target:`forward_bonds`; std::string :target:`reverse_bonds`; }; .. _details-structgpr_1_1optim_1_1_endpoint_connectivity_report: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Downhill ends of a saddle, compared with the endpoints after those endpoints have been relaxed on the same surface. A fixed distance to the deposited coordinates rejects a walk that reached the reactant basin when the deposited reactant still sits up the wall. CH3O's forward end is 0.340 Å from that deposit and 0.746 Å from the product; a 0.30 Å ball misses it. The distance below keeps the file's atom labels and removes only rigid motion, the same indexing the bond graph uses. Fields ------ .. index:: pair: variable; connected .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1ababd315b1dd214b87b8a2ceb363a762f: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool connected = false The walks are the two endpoints. When the endpoint bond graphs differ, each end is a force-converged minimum whose graph is one endpoint's and not the other's. When the graphs are the same, the fixed-label balls decide. A conformer of a basin is the same graph at another minimum; its distance is a diagnostic. .. index:: pair: variable; graph_connected .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a37f2989c004ac2ae9104539c03ba1f04: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool graph_connected = false The two L-BFGS ends have the bond graphs of the two relaxed endpoints, one each. False when the endpoints share a graph (``:ref:`graph_applicable ``` is then false and the log prints graph=na). .. index:: pair: variable; graph_applicable .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a43765ff61846ba6afe339f9c202158e2: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool graph_applicable = true False when the relaxed endpoints have one bond graph. .. index:: pair: variable; ball_applicable .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a21efa666e1c370826d3d233bd3d344d2: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool ball_applicable = true False when the fixed-label separation does not put each endpoint outside the other's harmonic match ball. The log prints ball=na. The radius formula is unchanged. .. index:: pair: variable; ball_matched .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1ac10061655c40699160e7193f04cb3108: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool ball_matched = false The fixed-label balls assign the two ends to different endpoints. A diagnostic when the graphs differ. .. index:: pair: variable; ambiguous .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a9307bf64aebdcc67123061a2637bb7a5: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool ambiguous = false The L-BFGS end still has a negative vibrational eigenvalue below minus the stencil resolution, after a step off that mode. .. index:: pair: variable; unresolved .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1abe7ef54fa4c99cc1512a73031b1f05ba: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool unresolved = false The IRC stopped before the walk finished. A converged search is not withdrawn: the ball and the graph are unresolved, not a miss. .. index:: pair: variable; skipped .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1abc8bbf3f1249ca033d7e1d5bbcb33c57: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool skipped = false ``--irc-certificate off``. The walk is not run. .. index:: pair: variable; saddle_curvature .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1af5101a13c3782854e58ba51d2342754a: .. ref-code-block:: cpp :class: doxyrest-title-code-block double saddle_curvature = std::numeric_limits::quiet_NaN() Lowest mass-weighted vibrational eigenvalue of a measured Cartesian spectrum at the returned image. Quiet when that spectrum was not measured. .. index:: pair: variable; saddle_index_measured .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a6950ca1844989d1b447177f7465747c8: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool saddle_index_measured = true True when ``:ref:`saddle_curvature ``` is that measured eigenvalue. False when the walk used a model direction that the true force showed to be downhill: one descent direction, not an index. .. index:: pair: variable; directional_curvature .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1afdc03b6b1b34058d3047e887869ddffb: .. ref-code-block:: cpp :class: doxyrest-title-code-block double directional_curvature = std::numeric_limits::quiet_NaN() True central curvature along the walked direction, (g(x+hd) − g(x−hd))·d / (2h), when the spectrum was not measured. .. index:: pair: variable; measured_index .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1aa56c01aba0dbc8a27bcd6bebfa16cbf3: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool measured_index = false The search had not stored the saddle stencil, and this walk measured it. The counts use the vibrational index rule: a mode is negative below minus the stencil resolution, unresolved inside it, and the gate passes for exactly one negative mode. .. index:: pair: variable; forward_calls .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1af95395a3f74ef2a738b7061262b5b397: .. ref-code-block:: cpp :class: doxyrest-title-code-block int forward_calls = 0 Oracle calls spent on each IRC, steepest descent through the L-BFGS polish and the negative-mode check. .. index:: pair: variable; forward_steps .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a0a7d58a4c4a44d253d33213449f86fb6: .. ref-code-block:: cpp :class: doxyrest-title-code-block int forward_steps = 0 Steepest-descent steps plus L-BFGS steps on that side. .. index:: pair: variable; calls_deposit .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a3574806c6b79ee707285a3ea3aa51f49: .. ref-code-block:: cpp :class: doxyrest-title-code-block int calls_deposit = 0 Oracle calls by the work that spent them. Deposit is the L-BFGS of the two endpoints. The checks are the vibrational minimum spectra, or the complete stencil when that spectrum cannot resolve the sign. Descent is the steepest-descent walk, polish its L-BFGS. .. index:: pair: variable; oracle_seconds .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a1999fc5b13e8a9e7eb22298af4855049: .. ref-code-block:: cpp :class: doxyrest-title-code-block double oracle_seconds = 0 Time inside the oracle, and time in the bond-graph and distance comparison after the walks. The rest of the certificate is the solver and the Hessians' algebra. .. index:: pair: variable; saddle_positions .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1a3bd58ecccf5dca6e0b871a4c08504eda: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd saddle_positions Saved saddle, the unit mode the kick used, and the two ends. A second walk from these is the replay. .. index:: pair: variable; comparison_tolerance .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1ad6980727300e7a38db22940aae3cd26c: .. ref-code-block:: cpp :class: doxyrest-title-code-block double comparison_tolerance = std::numeric_limits::quiet_NaN() Force at which the walks and the endpoints were compared. Equals the requested tolerance, or the tighter one below when a walk had stopped outside both harmonic balls. .. index:: pair: variable; reactant_bonds .. _doxid-structgpr_1_1optim_1_1_endpoint_connectivity_report_1acb9c8d48cf6fbb08bed3f46c550ad595: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string reactant_bonds Bond graphs: sorted "i-j" pairs inside 1.2 times the Cordero radii.