Loading...
Searching...
No Matches
gpr::neb::OCINEBConfig Struct Reference

#include <gpr/neb/OCINEBController.h>

Public Attributes

bool use_mmf = false
 Master switch. False -> ~runOCINEB~ degenerates to bare NEB.
bool rg_minmode_dimer = false
MmfHandoffPolicy handoff_policy = MmfHandoffPolicy::Auto
double trigger_force = 0.0
double trigger_factor = 0.31
long max_steps = 0
double alignment_cos_tol = 0.85
double force_tolerance = 0.05
std::function< double()> effective_force_tolerance
int dimer_max_phases = 0
int dimer_max_inner_iter = 0
int dimer_max_rot_iter = 10
double dimer_kappa_beta = 0.0
 Xiao contour curvature restraint; zero disables, paper uses 5 Angstrom.
bool dimer_eval_image1 = true
bool keep_force_improving_burst = true
Eigen::VectorXd initial_orient
double perturb_along_tangent = 0.05
double max_burst_displacement = 0.0
double dimer_variance_tau_rel = std::numeric_limits<double>::quiet_NaN()
double dimer_variance_tau_abs = 0.0
double dimer_imspe_soft_threshold = 0.0
int dimer_imspe_history_size = 16
 EMD-filtered ring-buffer size for the dimer IMSPE soft-skip.

Detailed Description

OCINEB controller config. All fields match the eOn ~OCINEBController::Config~ shape so existing parameter sweeps over there transfer.

Definition at line 811 of file OCINEBController.h.

Member Data Documentation

◆ alignment_cos_tol

double gpr::neb::OCINEBConfig::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.

Definition at line 854 of file OCINEBController.h.

◆ dimer_eval_image1

bool gpr::neb::OCINEBConfig::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.

Definition at line 885 of file OCINEBController.h.

◆ dimer_imspe_history_size

int gpr::neb::OCINEBConfig::dimer_imspe_history_size = 16

EMD-filtered ring-buffer size for the dimer IMSPE soft-skip.

Definition at line 943 of file OCINEBController.h.

◆ dimer_imspe_soft_threshold

double gpr::neb::OCINEBConfig::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.

Definition at line 940 of file OCINEBController.h.

◆ dimer_kappa_beta

double gpr::neb::OCINEBConfig::dimer_kappa_beta = 0.0

Xiao contour curvature restraint; zero disables, paper uses 5 Angstrom.

Definition at line 880 of file OCINEBController.h.

◆ dimer_max_inner_iter

int gpr::neb::OCINEBConfig::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.

Definition at line 872 of file OCINEBController.h.

◆ dimer_max_phases

int gpr::neb::OCINEBConfig::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.

Definition at line 867 of file OCINEBController.h.

◆ dimer_max_rot_iter

int gpr::neb::OCINEBConfig::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.

Definition at line 877 of file OCINEBController.h.

◆ dimer_variance_tau_abs

double gpr::neb::OCINEBConfig::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).

Definition at line 930 of file OCINEBController.h.

◆ dimer_variance_tau_rel

double gpr::neb::OCINEBConfig::dimer_variance_tau_rel = std::numeric_limits<double>::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.

Definition at line 925 of file OCINEBController.h.

◆ effective_force_tolerance

std::function<double()> gpr::neb::OCINEBConfig::effective_force_tolerance

Optional live tolerance provider. Values above force_tolerance raise the OCI/MMF certificate to the model-noise-supported force scale.

Definition at line 862 of file OCINEBController.h.

◆ force_tolerance

double gpr::neb::OCINEBConfig::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~.

Definition at line 859 of file OCINEBController.h.

◆ handoff_policy

MmfHandoffPolicy gpr::neb::OCINEBConfig::handoff_policy = 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.

Definition at line 824 of file OCINEBController.h.

◆ initial_orient

Eigen::VectorXd gpr::neb::OCINEBConfig::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.

Definition at line 902 of file OCINEBController.h.

◆ keep_force_improving_burst

bool gpr::neb::OCINEBConfig::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.

Definition at line 897 of file OCINEBController.h.

◆ max_burst_displacement

double gpr::neb::OCINEBConfig::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.

Definition at line 915 of file OCINEBController.h.

◆ max_steps

long gpr::neb::OCINEBConfig::max_steps = 0

Optional MMF step budget N_mmf. Nonpositive values leave termination to the dimer certificates; positive values are explicit caller caps.

Definition at line 845 of file OCINEBController.h.

◆ perturb_along_tangent

double gpr::neb::OCINEBConfig::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.

Definition at line 909 of file OCINEBController.h.

◆ rg_minmode_dimer

bool gpr::neb::OCINEBConfig::rg_minmode_dimer = false

RgMinMode dimer for the climbing-image burst. Default false keeps AtomicDimer as the campaign / parity harness. When true the burst binds RgMinMode::kOciBurstKind (Dimer, not Lanczos).

Definition at line 818 of file OCINEBController.h.

◆ trigger_factor

double gpr::neb::OCINEBConfig::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.

Definition at line 841 of file OCINEBController.h.

◆ trigger_force

double gpr::neb::OCINEBConfig::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.

Definition at line 833 of file OCINEBController.h.

◆ use_mmf

bool gpr::neb::OCINEBConfig::use_mmf = false

Master switch. False -> ~runOCINEB~ degenerates to bare NEB.

Definition at line 813 of file OCINEBController.h.


The documentation for this struct was generated from the following file: