.. index:: pair: struct; gpr::neb::OCINEBConfig .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config: struct gpr::neb::OCINEBConfig ============================= .. toctree:: :hidden: Overview ~~~~~~~~ OCINEB controller config. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct OCINEBConfig { // fields bool :ref:`use_mmf` = false; bool :ref:`rg_minmode_dimer` = false; :ref:`MmfHandoffPolicy` :ref:`handoff_policy` = :ref:`MmfHandoffPolicy::Auto`; double :ref:`trigger_force` = 0.0; double :ref:`trigger_factor` = 0.31; long :ref:`max_steps` = 0; double :ref:`alignment_cos_tol` = 0.85; double :ref:`force_tolerance` = 0.05; std::function :ref:`effective_force_tolerance`; int :ref:`dimer_max_phases` = 0; int :ref:`dimer_max_inner_iter` = 0; int :ref:`dimer_max_rot_iter` = 10; double :ref:`dimer_kappa_beta` = 0.0; bool :ref:`dimer_eval_image1` = true; bool :ref:`keep_force_improving_burst` = true; Eigen::VectorXd :ref:`initial_orient`; double :ref:`perturb_along_tangent` = 0.05; double :ref:`max_burst_displacement` = 0.0; double :ref:`dimer_variance_tau_rel` = std::numeric_limits::quiet_NaN(); double :ref:`dimer_variance_tau_abs` = 0.0; double :ref:`dimer_imspe_soft_threshold` = 0.0; int :ref:`dimer_imspe_history_size` = 16; }; .. _details-structgpr_1_1neb_1_1_o_c_i_n_e_b_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ OCINEB controller config. All fields match the eOn ~OCINEBController::Config~ shape so existing parameter sweeps over there transfer. Fields ------ .. index:: pair: variable; use_mmf .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a5dce394c31a6921ff250987dd069a2f1: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool use_mmf = false Master switch. False -> ~runOCINEB~ degenerates to bare NEB. .. index:: pair: variable; rg_minmode_dimer .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a2eadd53c35ded53c9913492530bf3679: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool rg_minmode_dimer = false :ref:`RgMinMode ` dimer for the climbing-image burst. Default false keeps AtomicDimer as the campaign / parity harness. When true the burst binds :ref:`RgMinMode::kOciBurstKind ` (Dimer, not Lanczos). .. index:: pair: variable; handoff_policy .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a0b6b6e4c601e9568603133fbc4b00e99: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`MmfHandoffPolicy` handoff_policy = :ref:`MmfHandoffPolicy::Auto` First-lease scheduler. Auto preserves classical adaptive OCINEB for true-PES Standard/OIE/AIE runs and uses MMF as a measured fallback for GP-assisted modes. Explicit values are authoritative for composed workflows and bindings. .. index:: pair: variable; trigger_force .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a37e586714422b76a77645f8d0e63c697: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trigger_force = 0.0 Absolute trigger override. When > 0, MMF fires as soon as conv_force drops below it, bypassing the adaptive ~current_threshold~. This is the "static handover" protocol; a fixed 0.5 eV/A override triggers the dimer prematurely, so it follows the local lowest mode to a saddle off the reaction path (OCI-NEB paper, System 01 / HCN). Default 0.0: disabled, so the trigger is purely the adaptive relative threshold. .. index:: pair: variable; trigger_factor .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1ae98547e40ce46a25d591142f73b04cda: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trigger_factor = 0.31 Relative trigger factor lambda_rel (OCI-NEB). The adaptive trigger threshold is ~trigger_factor \* baseline_force~, where baseline_force is the conv_force at the first MMF-eligible NEB outer iter; MMF hands over once the chain has relaxed to this fraction of that handover baseline. Default 0.31, the OCI-NEB paper optimum. .. index:: pair: variable; max_steps .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a16707f6c72f5df579d6775604a722276: .. ref-code-block:: cpp :class: doxyrest-title-code-block long max_steps = 0 Optional MMF step budget N_mmf. Nonpositive values leave termination to the dimer certificates; positive values are explicit caller caps. .. index:: pair: variable; alignment_cos_tol .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a215fb221f2276b0ebafb31e663609d0c: .. ref-code-block:: cpp :class: doxyrest-title-code-block double alignment_cos_tol = 0.85 Alignment COSINE tolerance alpha_tol (the absolute mode/tangent dot product, a cosine in [0,1], NOT a rotation angle distinct from the dimer min-mode rotation omega used for saddle certification). The dimer is initialized along the NEB tangent; the burst runs while the rotated axis stays aligned, abs(dot(d, tau)) >= alignment_cos_tol, and aborts when alignment drops below it. Default 0.85. .. index:: pair: variable; force_tolerance .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a259bece9a513909ee34fd9e99bdff243: .. ref-code-block:: cpp :class: doxyrest-title-code-block double force_tolerance = 0.05 Force tolerance used for the "already converged, no need to fire MMF" gate inside ~shouldTrigger~. Default mirrors the NEB's ~conv_tol~. .. index:: pair: variable; effective_force_tolerance .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1ac711dbc7c900fc4e929a00d760a61f20: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::function effective_force_tolerance Optional live tolerance provider. Values above force_tolerance raise the OCI/MMF certificate to the model-noise-supported force scale. .. index:: pair: variable; dimer_max_phases .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a0b5fca749559ec9afb83fef062842f53: .. ref-code-block:: cpp :class: doxyrest-title-code-block int dimer_max_phases = 0 Per-burst dimer outer-iteration budget (passes through to AtomicDimer's ~num_bigiter~). Nonpositive values are condition-driven; positive values are explicit caller budgets. .. index:: pair: variable; dimer_max_inner_iter .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1aaeda749aef8749d63460096a88e7bbac: .. ref-code-block:: cpp :class: doxyrest-title-code-block int dimer_max_inner_iter = 0 Per-burst dimer inner-iteration budget (passes through to AtomicDimer's ~num_iter~). Nonpositive values are condition-driven; positive values are explicit caller budgets. .. index:: pair: variable; dimer_max_rot_iter .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1ad3866da21e6274a7c71f07ce4a7f1ffb: .. ref-code-block:: cpp :class: doxyrest-title-code-block int dimer_max_rot_iter = 10 GP-surface rotations per dimer translation in an MMF burst. The alignment gate is evaluated on the rotated dimer axis, so relaxation-phase rotations are part of the OCI-NEB control law. .. index:: pair: variable; dimer_kappa_beta .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1afc6924b7cf8c1b9a75f1d8f335bbc54e: .. ref-code-block:: cpp :class: doxyrest-title-code-block double dimer_kappa_beta = 0.0 Xiao contour curvature restraint; zero disables, paper uses 5 Angstrom. .. index:: pair: variable; dimer_eval_image1 .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a54e36db2328bdf669ca49ebe84ccfca2: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool dimer_eval_image1 = true Evaluate the forward dimer image through the oracle at each dimer phase. The improved dimer curvature is a one-sided finite difference, so molecular OCINEB keeps this enabled. .. index:: pair: variable; keep_force_improving_burst .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a7197d6c7aec4c739268261d4d525900d: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool keep_force_improving_burst = true Keep the dimer's final position when a burst hits the step cap (MaxIterations) but the final oracle force is strictly lower than the pre-burst force. The legacy behaviour unconditionally restored the pre-burst CI on MaxIterations discarding every oracle call of a burst that did make partial progress. The restore exists to guard the force-explosion case (observed 4.45 -> 4538 eV/A), so it is kept whenever the final force is NOT an improvement. Default true; set false to recover the always-restore behaviour. .. index:: pair: variable; initial_orient .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1af70cf706cb0ec35e4139db419fc75e08: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd initial_orient Optional override for the initial dimer axis. If empty, uses the cached mode if available, otherwise the path's improved (energy-weighted) tangent at the CI image. .. index:: pair: variable; perturb_along_tangent .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a4248f69e72e913845c20cd98e2d26a34: .. ref-code-block:: cpp :class: doxyrest-title-code-block double perturb_along_tangent = 0.05 Perturbation along the initial mode applied to the CI position before each MMF burst. Required for the dimer to have non-zero starting gradient on systems where the chain has already converged to a GP+oracle fixed point. 0 disables. .. index:: pair: variable; max_burst_displacement .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a4f7bb299d09535b0f53397d6b4d72626: .. ref-code-block:: cpp :class: doxyrest-title-code-block double max_burst_displacement = 0.0 Optional per-burst CI image displacement cap, measured in EMD (earth-mover) units the same metric the dimer's early-stop uses. Non-positive values leave MMF acceptance to the saddle-energy, force, curvature, and adjacent-path certificates. .. index:: pair: variable; dimer_variance_tau_rel .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1a79ac8fa3c2cba0b6afde9601eea1a9fe: .. ref-code-block:: cpp :class: doxyrest-title-code-block double dimer_variance_tau_rel = std::numeric_limits::quiet_NaN() Dimer posterior-variance acceptance gate, expressed as a fraction of the GP signal variance (magnSigma2). When > 0, a dimer outer phase that would query the true potential first probes the posterior variance at the candidate; if it is below ~dimer_variance_tau_rel \* magnSigma2(now)~ the GP mean replaces the oracle call. A finite value is authoritative, including 0 to disable the relative gate. The NaN sentinel leaves the gate disabled unless the caller supplies an explicit threshold. .. index:: pair: variable; dimer_variance_tau_abs .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1af5b5609cd58aa458d0ac1f29670e9b4c: .. ref-code-block:: cpp :class: doxyrest-title-code-block double dimer_variance_tau_abs = 0.0 Absolute dimer posterior-variance gate (eV^2). Takes precedence over ~dimer_variance_tau_rel~ when > 0. Default 0 (defer to the relative gate). .. index:: pair: variable; dimer_imspe_soft_threshold .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1aa646aa2f4e3b71279c6063e5950685c6: .. ref-code-block:: cpp :class: doxyrest-title-code-block double dimer_imspe_soft_threshold = 0.0 IMSPE soft-skip threshold for the dimer. When > 0, a candidate that passes the variance gate (var >= tau) is additionally scored by IMSPE over the dimer's EMD-filtered recent-query ring buffer; a score below the threshold suppresses the oracle call (GP mean used instead). Default 0 leaves the soft gate disabled; the variance gate alone fixes the thrashing, and the soft threshold has no system-adaptive default. .. index:: pair: variable; dimer_imspe_history_size .. _doxid-structgpr_1_1neb_1_1_o_c_i_n_e_b_config_1abce6ef05762ce88aea02def5fe3007c6: .. ref-code-block:: cpp :class: doxyrest-title-code-block int dimer_imspe_history_size = 16 EMD-filtered ring-buffer size for the dimer IMSPE soft-skip.