.. index:: pair: struct; gpr::neb::GPNEBConfig .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config: struct gpr::neb::GPNEBConfig ============================ .. toctree:: :hidden: enum_gpr_neb_GPNEBConfig_BandEngineKind.rst Overview ~~~~~~~~ Configuration for GP-NEB. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct GPNEBConfig { // typedefs typedef std::function`&path, int ci_image_idx, int outer_iter, :ref:`ActiveLearningSession`&session, bool&converged, bool trap_detected)> :ref:`OuterIterHook`; typedef std::function`&path, int ci_image_idx, int outer_iter, :ref:`ActiveLearningSession`&session)> :ref:`OuterIterHookReject`; typedef std::function`&path, int ci_image_idx, int outer_iter, double ci_force)> :ref:`CurrentCiOraclePriority`; typedef std::function`&path, int ci_image_idx, int outer_iter, double ci_force, double max_chain_energy_variance, double posterior_variance_threshold, bool current_chain_certificate, bool planned_current_chain_or_ci, const :ref:`ActiveLearningSession`*session)> :ref:`OieInnerHandoffPriority`; typedef std::function`&path, int ci_image_idx, int outer_iter)> :ref:`OieFixedImage`; typedef std::function<:ref:`OieFixedImageLease`(const :ref:`NEBPath`&path, int ci_image_idx, int outer_iter)> :ref:`OieFixedImageLeaseProvider`; // enums enum :ref:`BandEngineKind`; // fields :ref:`NEBMode` :target:`mode` = :ref:`NEBMode::GP_OIE`; :ref:`NEBBatchOracle` :ref:`batch_oracle`; Eigen::Index :ref:`oracle_batch_chunk` = 0; double :target:`conv_tol` = 0.05; std::optional<:ref:`ConvergenceNormType`> :ref:`convergence_force_norm`; const double* :target:`oracle_energy_noise_rms` = nullptr; const double* :target:`oracle_force_noise_rms` = nullptr; const double* :target:`oracle_noise_rms` = nullptr; bool* :target:`oracle_noise_updates_enabled` = nullptr; std::function`&)> :target:`oracle_evaluation_context`; std::function`&)> :target:`oracle_optimization_outcome`; std::function :target:`oracle_session_restart_requested`; std::function`&)> :target:`oracle_session_path_checkpoint`; int :target:`max_outer_iter` = 200; bool :target:`outer_budget_per_image` = false; double :target:`variance_spread_factor` = 0.0; int :target:`max_inner_iter` = 100; double :target:`inner_step_size` = 0.01; double :target:`spring_constant` = 5.0; double :target:`spring_constant_min` = -1.0; bool :target:`climbing_image` = true; bool :target:`climbing_image_converged_only` = true; bool :target:`kernel_support_freezes_band` = true; double :target:`ci_activation_tol` = 0.5; double :target:`ci_activation_factor` = 0.8; double :target:`unc_convergence` = 0.05; bool :target:`restricted_variance_acquisition` = false; int :target:`n_atoms` = 0; bool :ref:`remove_molecular_rigid_motion` = false; std::vector :target:`atomic_numbers`; Eigen::VectorXd :target:`frozen_positions`; std::vector :target:`frozen_atomic_numbers`; bool :target:`use_idpp` = false; bool :target:`use_sidpp` = true; double :target:`sidpp_alpha` = 0.33; bool :target:`sidpp_geodesic` = false; bool :target:`geodesic_retraction` = false; bool :target:`use_relative_neighborhood_graph` = false; bool :target:`use_geodesic_image_prior` = false; std::vector :target:`moving_atoms`; std::array :target:`cell` {}; double :target:`pair_cutoff` = 0.0; double :target:`pair_cutoff_width` = 0.0; bool :target:`use_geometric_spring` = false; bool :ref:`uncertainty_aware_projection` = false; :ref:`AcquisitionType` :target:`acquisition` = :ref:`AcquisitionType::TPE`; bool :target:`use_three_phase_picker` = true; double :target:`imspe_refit_skip_relative_tol` = 0.0; bool :target:`seed_full_chain` = false; double :target:`ucb_kappa` = 1.0; int :ref:`acquisition_seed_offset` = 0; double :ref:`attempt_wall_seconds` = 0.0; std::shared_ptr`> :ref:`wall_clock_limit`; int :ref:`band_refinement_max` = 0; double :target:`band_certificate_force_scale` = 0.0; bool :ref:`attach_manifold_chart` = false; double :ref:`first_attempt_wall_seconds` = 0.0; int :target:`evals_per_iter` = 1; bool :target:`use_triplet` = false; unsigned int :target:`seed` = 42; bool :target:`verbose` = true; bool :target:`record_band_trace` = false; bool :target:`record_band_trace_snapshot` = true; bool :target:`record_band_trace_geometry` = false; bool :target:`record_composition_trace` = false; bool :target:`dimer_use_global_gp` = true; std::optional :ref:`dimer_analytic_curvature`; :ref:`gpr::optim::SecantHessianConfig` :ref:`secant_hessian`; bool :target:`has_initial_path` = false; :ref:`EigenMatrix` :target:`initial_path`; std::vector :ref:`initial_rest_lengths`; int :target:`oracle_transition_focal_image` = -1; :ref:`gpr::UncertaintyMode` :target:`uncertainty_mode` = :ref:`gpr::UncertaintyMode::MAP`; :ref:`gpr::GaussianProcessRegression::VarianceConvention` :target:`variance_convention` = :ref:`gpr::GaussianProcessRegression::VarianceConvention::Latent`; bool :target:`use_psis_laplace` = false; bool :target:`use_psis_deterministic` = true; bool :target:`use_delta_method` = false; bool :target:`disable_output_normalization` = false; bool :target:`output_scale_floor` = false; bool :target:`use_zbl_prior_mean` = false; bool :target:`use_ff_prior_mean` = false; bool :target:`learn_likelihood_noise` = false; double :ref:`robust_nu` = 0.0; bool :ref:`fit_step_stop` = true; bool :target:`use_virtual_observations` = false; double :target:`virtual_obs_noise` = 0.04; bool :target:`use_drift_budget` = true; bool :target:`channel_survey` = false; bool :target:`use_geodesic_prior` = false; bool :target:`use_adaptive_prune` = true; int :target:`adaptive_prune_growth` = 5; int :target:`adaptive_prune_max_observations` = 0; bool :target:`use_resolution_dedup` = true; std::vector :ref:`symmetry_permutation`; int :target:`refit_training_revisions` = 5; bool :target:`use_chem_factorized_hyper` = false; :ref:`GPModelProfile` :target:`model_profile` = :ref:`GPModelProfile::EXTENDED`; bool :target:`active_posterior_refits` = false; bool :target:`environment_residuals` = false; bool :target:`atomic_environments` = false; bool :target:`additive_pair_residuals` = false; :ref:`PriorMeanStatistic` :target:`prior_mean_statistic` = :ref:`PriorMeanStatistic::Mean`; std::string :target:`rgsaddle_library`; bool :ref:`rgsaddle_refine` = false; bool :target:`use_ls_prior` = true; bool :ref:`use_lognormal_magn_prior` = false; std::string :ref:`gp_population_prior`; bool :target:`ls_seed_chemical_floor` = false; bool :target:`principled_nugget` = true; bool :target:`use_rigid_null_deflation` = false; bool :target:`subset_failure_escalation` = true; double :target:`rgmin_initial_log_move` = 1.0; bool :target:`rgmin_initial_log_move_whole_session` = true; bool :target:`rgmin_warm_start` = false; bool :target:`skip_unchanged_subset_fit` = false; bool :target:`evidence_refit_trigger` = false; double :target:`kappa_max` = 0.0; int :target:`rff_features` = 0; double :target:`rff_force_tol_fraction` = 0.0; int :target:`hutch_num_probes` = 0; bool :target:`use_hssvd_solver` = true; bool :target:`use_hssvd_objective_contractions` = true; double :target:`hssvd_dual_chop_tol` = 1e-6; int :target:`hssvd_dual_randomized_sketch` = 0; bool :target:`hssvd_dual_lapack_rrr` = true; int :target:`hssvd_local_active_set_size` = 0; int :target:`hssvd_local_posterior_active_set_size` = 0; bool :ref:`local_tier_classic` = false; int :target:`per_image_min_train` = 3; int :target:`per_image_knn` = 10; int :target:`scalapack_block_size` = 0; int :target:`scalapack_nprow` = 0; :ref:`gpr::linalg::DistributedFactorization` :target:`linalg_mode` = :ref:`gpr::linalg::DistributedFactorization::Reproducible`; bool :target:`stable_posterior_variance` = false; double :target:`theta_shift_skip_tol` = 0.0; bool :target:`theta_shift_skip_auto` = false; int :target:`rgmin_method` = 3; bool :target:`rgmin_method_set` = false; :ref:`gpr::HyperparameterOptimizationMode` :target:`hyperparameter_mode` = :ref:`gpr::HyperparameterOptimizationMode::SCG`; :ref:`gpr::HyperparameterObjectiveMode` :target:`hyperparameter_objective` = :ref:`gpr::HyperparameterObjectiveMode::NLML`; bool :ref:`hyperparameter_objective_explicit` = false; int :target:`gp_fps_history` = 10; bool :target:`gp_anneal_stage` = false; int :target:`gp_anneal_budget` = 0; int :target:`gp_anneal_replicas` = 4; int :target:`gp_anneal_every` = 0; int :target:`gp_variance_subset` = 0; int :target:`max_inner_iter_gp` = 0; bool :target:`oie_fixed_point_measured_step` = true; bool :target:`oie_fixed_point_reparam` = true; bool :target:`oie_hook_reparam` = true; bool :ref:`ci_index_certificate` = false; bool :ref:`force_stop_certificate` = false; :ref:`gpr::optim::VibrationalStencil` :ref:`vibrational_stencil` = :ref:`gpr::optim::VibrationalStencil::Full`; double :ref:`ci_stencil_step` = :ref:`gpr::optim::defaultStencilStep`(); bool :ref:`saddle_stage_follows` = false; bool :ref:`band_midpoint_certificate` = false; bool :ref:`hold_refined_spacing` = true; bool :ref:`band_leak_bound` = false; bool :ref:`band_stall` = true; double :target:`gp_local_fraction` = 0.1; double :target:`gp_local_radius` = 0.0; int :target:`gp_local_window` = 16; double :target:`gp_local_trust` = 0.3; int :target:`gp_local_inner_max` = 20; int :target:`gp_local_refit_iters` = 0; double :target:`gp_local_inner_tol_factor` = 0.5; bool :target:`gp_local_phase` = true; int :target:`gp_local_refit_every` = 4; double :target:`gp_local_noise` = 1e-3; double :target:`gp_local_pair_cutoff` = 9.5; double :target:`gp_local_pair_spacing` = 0.0; double :target:`gp_local_far_trust` = 0.5; double :target:`gp_local_far_refresh` = 0.05; bool :target:`gp_local_initial_sweep` = true; int :target:`gp_local_batch` = 1; int :target:`gp_local_batch_growth` = 8; int :target:`gp_local_batch_max` = 3; int :target:`gp_local_sweep_images` = 0; bool :target:`gp_local_jacobi` = false; double :target:`gp_local_grow_radius` = 3.0; bool :target:`gp_local_safeguard` = true; bool :target:`gp_local_keep_memory` = true; bool :target:`gp_local_residual` = true; double :target:`gp_local_pair_split` = 7.0; double :target:`gp_local_pair_tail_refresh` = 0.0; int :target:`gp_local_cycles` = 2; bool :target:`gp_local_sweep` = false; bool :target:`gp_local_carry_springs` = false; double :target:`lbfgs_max_move` = 0.1; int :target:`lbfgs_memory` = 20; :ref:`BandEngineKind` :target:`band_engine` = :ref:`BandEngineKind::RgLbfgs`; double :target:`lbfgs_inverse_curvature` = 0.01; double :target:`lbfgs_finite_difference` = 1e-6; bool :target:`lbfgs_auto_scale` = true; bool :target:`lbfgs_angle_reset` = true; bool :target:`lbfgs_distance_reset` = true; double :target:`lbfgs_newton_agreement` = :ref:`kDefaultLbfgsNewtonAgreement`; int :target:`lbfgs_sketch_history` = 0; uint64_t :target:`lbfgs_sketch_seed` = 1; int :target:`lbfgs_sketch_h0_rank` = 0; double :target:`lbfgs_sketch_h0_eps` = 1e-3; int :target:`reparam_period` = 0; double :target:`reparam_tol` = -1.0; bool :target:`eon_inner_mode` = false; double :target:`inner_conv_tol` = 0.05; double :target:`gp_tol_divisor` = 10.0; double :target:`inner_unc_relative` = 0.0; int :target:`num_bigiter_initparam` = 1; :ref:`DistanceMetricType` :target:`trust_metric` = :ref:`DistanceMetricType::EMD`; bool :target:`use_adaptive_trust` = false; bool :target:`rho_trust` = false; double :target:`trust_radius` = 0.5; double :target:`trust_adaptive_A` = 1.3; double :target:`trust_adaptive_floor` = 0.25; double :target:`trust_t_min` = 0.15; double :target:`trust_delta_explore` = 0.35; int :target:`trust_half_life` = 50; double :target:`trust_ratio_at_limit` = 0.4; bool :target:`scalefree_trust` = false; double :target:`scalefree_tau` = 0.5; std::function`&, :ref:`gpr::AtomsConfiguration`&)> :target:`gp_setup`; :ref:`ObservationVarianceEstimator` :ref:`observation_variance_estimator`; :ref:`OuterIterHook` :target:`outer_iter_hook`; :ref:`OuterIterHookReject` :target:`outer_iter_hook_reject`; :ref:`CurrentCiOraclePriority` :target:`current_ci_oracle_priority`; :ref:`OieInnerHandoffPriority` :target:`oie_inner_handoff_priority`; :ref:`OieFixedImage` :target:`oie_fixed_image`; :ref:`OieFixedImageLeaseProvider` :target:`oie_fixed_image_lease`; const :ref:`policy::TrainingPolicy`* :ref:`training_policy` = nullptr; :ref:`policy::SearchKind` :ref:`training_search_kind` = :ref:`policy::SearchKind::Neb`; static double :ref:`kDefaultLbfgsNewtonAgreement` = 2.0; // methods static bool :ref:`isRgsaddleEngine`(:ref:`BandEngineKind` kind); static void :ref:`requireLbfgsNewtonAgreement`(double value); static bool :ref:`parseBandEngineKind`(const std::string& name, :ref:`BandEngineKind`& out); }; .. _details-structgpr_1_1neb_1_1_g_p_n_e_b_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Configuration for GP-NEB. Typedefs -------- .. index:: pair: typedef; OuterIterHook .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1acdde8ed3f56df4756e84e65bb4717de9: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef std::function`&path, int ci_image_idx, int outer_iter, :ref:`ActiveLearningSession`&session, bool&converged, bool trap_detected)> OuterIterHook Per-outer-iter hook fired AFTER the climbing-image marker is (re)assigned. The hook can mutate ~path.image(ci_idx)~ (move the CI image position to a dimer-refined location, update its energy and gradient) and append observations to the session. Setting ~converged~ to true breaks the outer loop. The OCINEB controller uses this hook to run short MMF bursts on the CI image while the NEB outer loop is still iterating, so the dimer's translated position feeds back into the next NEB inner relaxation rather than being dropped at the end of the run. .. index:: pair: typedef; OuterIterHookReject .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a0add0c567eea002d8b6812f22f7c85fe: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef std::function`&path, int ci_image_idx, int outer_iter, :ref:`ActiveLearningSession`&session)> OuterIterHookReject Optional feedback fired when an outer hook reports convergence but the GP-NEB on-path certificate rejects it. OCINEB uses this to back off deterministic MMF replays until OIE adds information to the surrogate. .. index:: pair: typedef; CurrentCiOraclePriority .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1af1149108c7aad33870dc286302f298a2: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef std::function`&path, int ci_image_idx, int outer_iter, double ci_force)> CurrentCiOraclePriority Optional pre-oracle request for hooks that require a true climbing-image force before they can run. The callback sees the current GP-relaxed climbing-image force and returns true only when the hook is eligible to consume a current true CI oracle. .. index:: pair: typedef; OieInnerHandoffPriority .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ae65b8b9df0ea544307dc85aa5896c9a0: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef std::function`&path, int ci_image_idx, int outer_iter, double ci_force, double max_chain_energy_variance, double posterior_variance_threshold, bool current_chain_certificate, bool planned_current_chain_or_ci, const :ref:`ActiveLearningSession`*session)> OieInnerHandoffPriority Optional pre-inner request for OCI handoff controllers. It may bypass the GP-OIE inner relaxation only when GPNEB has already verified a current-chain certificate and the caller confirms a quiet handoff state. .. index:: pair: typedef; OieFixedImage .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1abab0fde862b4a35a5474cc285311c68c: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef std::function`&path, int ci_image_idx, int outer_iter)> OieFixedImage Optional block-coordinate ownership for one interior image during an OIE inner relaxation. The provider is evaluated once per outer step; an invalid or endpoint index leaves the full band mobile. .. index:: pair: typedef; OieFixedImageLeaseProvider .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a93e27345e7b18cbbc3cbd35e0b9deca8: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef std::function<:ref:`OieFixedImageLease`(const :ref:`NEBPath`&path, int ci_image_idx, int outer_iter)> OieFixedImageLeaseProvider Extended fixed-image ownership for controllers that must preserve the climbing marker while requesting one posterior-growth acquisition. Fields ------ .. index:: pair: variable; batch_oracle .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a4b8fe6a0b89858821070366ee4eac951: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`NEBBatchOracle` batch_oracle Optional whole-batch oracle: when set, the points a rank owns of every oracle step (band images, stencil displacements, probes) go through one batched call instead of one oracle call per point. Not used while ~oracle_evaluation_context~ is set, since that hook acts per point. .. index:: pair: variable; oracle_batch_chunk .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a1d35bfc61c4ce0834957fa64f55660de: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::Index oracle_batch_chunk = 0 :ref:`pot::OracleBatchLayout::chunk ` for every oracle step: 0 shares the points out one by one and evaluates a rank's points in one call; K cuts a step into contiguous chunks of K points, so an engine whose batched forward depends on the batch composition gives the same values at every rank count. .. index:: pair: variable; convergence_force_norm .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a1f0ea08ad328008efcd88c3843c8152b: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::optional<:ref:`ConvergenceNormType`> convergence_force_norm Explicit norm shared by measured forces, surrogate forces and refits. Omission preserves the physical-atom and whole-band defaults. .. index:: pair: variable; remove_molecular_rigid_motion .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a05da71260fe8b5be9c8e31ba15c88981: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool remove_molecular_rigid_motion = false Remove whole-molecule translation and rotation from path geometry and trial steps. This requires an isolated molecule with every atom free; periodic cells and fixed atoms retain their physical frame. Generic Cartesian objectives opt in explicitly. .. index:: pair: variable; uncertainty_aware_projection .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a7ac3a76bf7b13ee6c492f56597cbade5: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool uncertainty_aware_projection = false UA-NEB: remove the tangent component of the band force in the Sigma^{-1} metric built from the surrogate's per-degree-of-freedom force variance, rather than the Euclidean one (Yu and Wang, DOI 10.48550/arxiv.2605.24401). A direction the model has not resolved then steers the band less than one it has. Off by default: with it off the projection arithmetic is untouched. .. index:: pair: variable; acquisition_seed_offset .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a027467eedc0e119b354c4915704a5913: .. ref-code-block:: cpp :class: doxyrest-title-code-block int acquisition_seed_offset = 0 Acquisition seed offset for independent restarts: added to the outer counter wherever a deterministic acquisition seed is derived (TPE round, PS-BAX sampler), so restart k explores a different deterministic trajectory than restart k-1 while a single run stays bitwise reproducible. .. index:: pair: variable; attempt_wall_seconds .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1afc26e53c892f4c31d8f078144b4c4899: .. ref-code-block:: cpp :class: doxyrest-title-code-block double attempt_wall_seconds = 0.0 Per-attempt wall budget in seconds. The outer loop exits honestly (unconverged, verdict printed) when its own elapsed time exceeds this, so a grinding attempt yields the remaining budget to the caller's restart loop instead of being killed verdict-less from outside. Non-positive disables. .. index:: pair: variable; wall_clock_limit .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ab627012a9287744ea9a5a0816a1f252f: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::shared_ptr`> wall_clock_limit Absolute deadline shared by the driver, nested hyperparameter fits, surrogate relaxation, certificates, and oracle entry points. .. index:: pair: variable; band_refinement_max .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a542c035ce4d24f1ddf4c287a129c8409: .. ref-code-block:: cpp :class: doxyrest-title-code-block int band_refinement_max = 0 Certificate-driven band refinement (runOCINEBRefined). A converged band whose CI-adjacent perpendicular true force exceeds band_certificate_force_scale is under-resolved at the ridge and is searched again at double the image count, up to band_refinement_max times. Zero refinements retains plain runOCINEB behaviour. A positive force scale requests an additional path-force criterion in eV/A; a non-positive value leaves convergence to the selected CI/path mode. .. index:: pair: variable; attach_manifold_chart .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a26e78c59554d9ee05ab8b4305ce821a1: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool attach_manifold_chart = false Optional molecular chart. Cartesian pair descriptors retain their chemical length scales when no chart is attached. .. index:: pair: variable; first_attempt_wall_seconds .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a918d0dddfba5157cdd6e0e828979540b: .. ref-code-block:: cpp :class: doxyrest-title-code-block double first_attempt_wall_seconds = 0.0 Wall budget for the first (coarsest) refinement attempt so a band that cannot converge at the requested resolution yields to refinement instead of consuming the whole cell. Non-positive uses attempt_wall_seconds unchanged. .. index:: pair: variable; dimer_analytic_curvature .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a9df70da893c53bb71fbf1db42b64a63d: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::optional dimer_analytic_curvature Select analytic GP curvature independently of the covariance solver. An unset override retains the solver-based selection. .. index:: pair: variable; secant_hessian .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a127c9a120145771ba7e306dd6395e2e7: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr::optim::SecantHessianConfig` secant_hessian True-force secant curvature shared by the NEB, dimer and saddle handoff. All consumers are disabled by default. .. index:: pair: variable; initial_rest_lengths .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a435994e5d13f59a5b87359cfddd66099: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector initial_rest_lengths Spring rest lengths (one per segment of initial_path) a warm-started band holds for its whole attempt; empty keeps the zero-rest-length energy-weighted spring. .. index:: pair: variable; robust_nu .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a4e815eb8752c44ce241f3660ac927d47: .. ref-code-block:: cpp :class: doxyrest-title-code-block double robust_nu = 0.0 Student-t degrees of freedom of the robust row model; 0 keeps the Gaussian likelihood. .. index:: pair: variable; fit_step_stop .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a795ee8a7c5d487e4c4341cb653f523f1: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool fit_step_stop = true Stop each hyperparameter fit at the stationarity scale of the auto skip test (the model turns this on with that mode). .. index:: pair: variable; symmetry_permutation .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a1b2edaff679aaaa7409d18915eadfed3: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector symmetry_permutation Endpoint-exchange symmetry of a degenerate rearrangement: slot a of the mapped geometry takes atom symmetry_permutation[a]. The orthogonal map and translation are fitted to the band's own endpoints (~requireEndpointSymmetry~), which must each land within trust_radius of the other. Every oracle row then also trains the session at its symmetry image, an exact second observation for a potential invariant under relabelling like atoms and rigid (including improper) motion. Needs a session, mode GP_OIE or GP_AIE, an isolated molecule and every atom moving. Empty, the default, leaves the training set untouched. gp-endpoint-symmetry. .. index:: pair: variable; rgsaddle_refine .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a9dc388d2088997bdb843c0fd2ab98b50: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool rgsaddle_refine = false Refine the converged band maximum with order-1 P-RFO on the true surface. The linked rgsaddle library runs it. .. index:: pair: variable; use_lognormal_magn_prior .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1af925339008a4c6667d1ffa1d47279614: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool use_lognormal_magn_prior = false Opt-in log-normal prior on the positive signal variance magnSigma2 (:ref:`PriorLogNormal `). Off keeps the half-Student-t (classic profiles) or half-Cauchy (MAP) magnitude prior. gp-lognormal-magn-prior. .. index:: pair: variable; gp_population_prior .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ae6ffc8ed122d39a8f66e40933d66c40a: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string gp_population_prior Population prior table (``gpr/prior/PopulationPrior.h``); empty is none. .. index:: pair: variable; local_tier_classic .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ad88c1d687cfd47e2ad585005b5885226: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool local_tier_classic = false Run the per-image local tier under the classic joint [E,F] profiles too: each interior image predicts from its own model of its k nearest rows once it has per_image_min_train of them, and the single global posterior is promoted to a random-feature regulariser (prior-mean aware) once every interior image is local. The exact global model then stops growing with the training set. .. index:: pair: variable; hyperparameter_objective_explicit .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a59a8723f78ddc78f9d4466d7d8f03af6: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool hyperparameter_objective_explicit = false True when the objective was named on the command line. A model profile (gprd_zbl, chemgp) carries its own default objective; an explicit request outranks that default instead of being silently replaced by it. .. index:: pair: variable; ci_index_certificate .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ad40294f0ce26d4a016f57e919479bbff: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool ci_index_certificate = false Optional first-order-saddle certificate on the converged climbing image: the true-PES curvature along the two lowest surrogate modes must satisfy c1 < 0 <= c2; otherwise the image is displaced along the offending mode and the band is warm-started again (bounded by 3N attempts). .. index:: pair: variable; force_stop_certificate .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a5293e9bc22021bd59463416720d38034: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool force_stop_certificate = false Optional certificate of a stopped search. With true, a climbing image whose true force is under tolerance is certified by one Cartesian stencil, a convergence claim the force did not make is gated on the vibrational index, and a higher-order point is left along its extra negative mode. With false the search returns at the force stop and spends no further evaluation there; the index of the returned geometry is then a separate validation. .. index:: pair: variable; vibrational_stencil .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a762ea852a7c6d6976811550eb6feb6df: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr::optim::VibrationalStencil` vibrational_stencil = :ref:`gpr::optim::VibrationalStencil::Full` Coordinates the true-oracle Hessian stencils displace. Full measures every Cartesian coordinate. Vibrational measures only the vibrational directions; its resolution can call a borderline mode resolved where Full calls it unresolved. .. index:: pair: variable; ci_stencil_step .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ad8cfb43d37dd97c9d20925813eb0ca87: .. ref-code-block:: cpp :class: doxyrest-title-code-block double ci_stencil_step = :ref:`gpr::optim::defaultStencilStep`() Step of the climbing-image index certificate's central-difference stencil, the validation stencil's step. .. index:: pair: variable; saddle_stage_follows .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ab9d2781f41e40c802a294823274290c0: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool saddle_stage_follows = false A later saddle stage owns certification. A force-stopped band hands the climbing image over and does not buy a Cartesian stencil: that stencil ends unresolved and the saddle measures the index at the geometry it reaches. When this is false the band is the final stage and a higher-order stencil still refuses the search. .. index:: pair: variable; band_midpoint_certificate .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a312de0466f7e1d0fb6dd9db7c40dbeea: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool band_midpoint_certificate = false Require the relaxed segment midpoints to lie below the climbing image. This additional path-resolution check can purchase oracle observations. .. index:: pair: variable; hold_refined_spacing .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1aad0edc31b7d58503398396d77fab3c48: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool hold_refined_spacing = true A refinement resamples the converged band at the chord-leak equidistribution (images where the path turns under force) with the count set by the O(h^2) law, and the refined attempt holds that spacing through spring rest lengths (initial_rest_lengths) so the uniform springs cannot spread it out again. Off: the resampled band relaxes under the plain springs. .. index:: pair: variable; band_leak_bound .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ad78b24224bd2b010593eeb2e1a7676d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool band_leak_bound = false Require the chord leak at the climbing-image neighbours to be within the force tolerance as well (stricter than the eight-image reference band, which carries the same leak); the leak is always reported. .. index:: pair: variable; band_stall .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a31fd80667077ba26e388242c2a4217ec: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool band_stall = true Re-climb the lowest certified image when the max band force makes no progress of one force tolerance. The quiet window is the longer of the ordered image pairs and the polished subspace. On by default for every band mode. .. index:: pair: variable; observation_variance_estimator .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a61e68618c6d2a97f378020688092b0ac: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`ObservationVarianceEstimator` observation_variance_estimator Optional joint energy-and-gradient variance estimator for OIE. An empty callback supplies zero uncertainty; force-based strategies then reduce to their deterministic force score. .. index:: pair: variable; training_policy .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a29d4e49168835792c0a882ca244e329b: .. ref-code-block:: cpp :class: doxyrest-title-code-block const :ref:`policy::TrainingPolicy`* training_policy = nullptr Null keeps every training decision the engine already makes. The pointer is not owned. It must outlive the search. .. index:: pair: variable; training_search_kind .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a7908d10c7e6f1da595380390a43469d1: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`policy::SearchKind` training_search_kind = :ref:`policy::SearchKind::Neb` Label published to the policy. runOCINEB sets OciNeb. .. index:: pair: variable; kDefaultLbfgsNewtonAgreement .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a07518ef19e9c570bc338f3100df43b2e: .. ref-code-block:: cpp :class: doxyrest-title-code-block static double kDefaultLbfgsNewtonAgreement = 2.0 Residual (eV/A) above which a 1/kappa step undershoots the Newton step and the curvature cap keeps the configured band trust. A step of length 1/kappa changes the force by 1 eV/A, so the default stays within a factor of two of the Newton step. Methods ------- .. index:: pair: function; isRgsaddleEngine .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1ab49df212a348d734ceda56cd36867784: .. ref-code-block:: cpp :class: doxyrest-title-code-block static bool isRgsaddleEngine(:ref:`BandEngineKind` kind) Whether a band engine kind runs on the rgsaddle library. .. index:: pair: function; requireLbfgsNewtonAgreement .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a3be1e9107619b4b7508e0611eb42d9ca: .. ref-code-block:: cpp :class: doxyrest-title-code-block static void requireLbfgsNewtonAgreement(double value) Reject a negative or non-finite agreement. Zero is off: the curvature cap keeps the configured band trust. The value is not clamped. .. index:: pair: function; parseBandEngineKind .. _doxid-structgpr_1_1neb_1_1_g_p_n_e_b_config_1a9d90bfef0bb6796102dea35de0ff3a9f: .. ref-code-block:: cpp :class: doxyrest-title-code-block static bool parseBandEngineKind(const std::string& name, :ref:`BandEngineKind`& out) Parse neb-band-engine. Empty selects the production default (RgLbfgs). Unknown names return false.