.. index:: pair: struct; gpr_neb_config_t .. _doxid-structgpr__neb__config__t: struct gpr_neb_config_t ======================= .. toctree:: :hidden: Overview ~~~~~~~~ NEB search configuration. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct gpr_neb_config_t { // fields :ref:`gpr_neb_mode_t` :ref:`mode`; double :ref:`conv_tol`; int :ref:`max_outer_iter`; int :ref:`max_inner_iter`; double :ref:`inner_step_size`; double :ref:`spring_constant`; int :ref:`climbing_image`; double :ref:`ci_activation_tol`; int :ref:`n_atoms`; int :ref:`use_idpp`; :ref:`gpr_acquisition_t` :ref:`acquisition`; double :ref:`ucb_kappa`; int :ref:`evals_per_iter`; int :ref:`use_triplet`; unsigned int :ref:`seed`; int :ref:`verbose`; :ref:`gpr_uncertainty_mode_t` :ref:`uncertainty_mode`; int :ref:`use_psis_laplace`; int :ref:`use_psis_deterministic`; int :ref:`use_delta_method`; int :ref:`use_zbl_prior_mean`; int :ref:`rff_features`; :ref:`gpr_hyperparameter_mode_t` :ref:`hyperparameter_mode`; :ref:`gpr_hyperparameter_objective_t` :ref:`hyperparameter_objective`; int :ref:`max_inner_iter_gp`; double :ref:`inner_conv_tol`; :ref:`gpr_distance_metric_t` :ref:`trust_metric`; int :ref:`use_adaptive_trust`; double :ref:`trust_radius`; double :ref:`trust_adaptive_A`; double :ref:`trust_adaptive_floor`; double :ref:`trust_t_min`; double :ref:`trust_delta_explore`; int :ref:`trust_half_life`; double :ref:`trust_ratio_at_limit`; int :ref:`scalapack_block_size`; int :ref:`scalapack_nprow`; double :ref:`lbfgs_max_move`; int :ref:`lbfgs_memory`; double :ref:`lbfgs_inverse_curvature`; double :ref:`lbfgs_finite_difference`; int :ref:`lbfgs_auto_scale`; int :ref:`lbfgs_angle_reset`; int :ref:`lbfgs_distance_reset`; int :ref:`reparam_period`; double :ref:`reparam_tol`; int :ref:`use_ff_prior_mean`; }; .. _details-structgpr__neb__config__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ NEB search configuration. The layered-chain knobs (uncertainty_mode, use_psis_laplace, use_psis_deterministic, use_delta_method, rff_features, hyperparameter_mode, max_inner_iter_gp, inner_conv_tol) and the trust fields act in the GP modes GPR_NEB_GP_OIE and GPR_NEB_GP_AIE, which run through gpr_neb_search_gp, gpr_neb_search_gp_potential and gpr_ocineb_search (ABI 1.2): those entry points carry the atoms and the GP settings the surrogate is built from. gpr_neb_search runs GPR_NEB_GP_OIE and GPR_NEB_GP_AIE when n_coords is a multiple of 3, by building all-moving atoms with gpr_atoms_create_simple and calling gpr_neb_search_gp. It returns NULL with GPR_ERR_INVALID_ARG and the message kGpModeWithoutGp only when a GP mode has n_coords % 3 != 0. gpr_neb_search_potential requires a positive multiple of 3 for every mode, then runs a GP mode with all-moving atoms built from atomic_nrs and typed by element. Both return NULL with GPR_ERR_INVALID_ARG and the message kLocalModeEntry for GPR_NEB_GP_LOCAL (the potential entry checks the length first). n_atoms is ignored by the GP entry points, which take the atom count from the atoms handle or from n_coords. Fields ------ .. index:: pair: variable; mode .. _doxid-structgpr__neb__config__t_1a1b2bc79f43c2a5f024b94aca2e4d20e3: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr_neb_mode_t` mode Evaluation mode. Default: GPR_NEB_GP_OIE .. index:: pair: variable; conv_tol .. _doxid-structgpr__neb__config__t_1a1fd02c6a630fe3e7f26447852d0c7d99: .. ref-code-block:: cpp :class: doxyrest-title-code-block double conv_tol Max force convergence. Default: 0.05 .. index:: pair: variable; max_outer_iter .. _doxid-structgpr__neb__config__t_1a35151e2e9a0bd470100933b71f2e989d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_outer_iter Default: 200 .. index:: pair: variable; max_inner_iter .. _doxid-structgpr__neb__config__t_1aeae043f7d61134af9cf801d68c92b165: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_inner_iter Legacy AIE inner step count. Default: 100 .. index:: pair: variable; inner_step_size .. _doxid-structgpr__neb__config__t_1ab166eae45e684104a999ac018a58dc0d: .. ref-code-block:: cpp :class: doxyrest-title-code-block double inner_step_size Steepest descent step. Default: 0.01 .. index:: pair: variable; spring_constant .. _doxid-structgpr__neb__config__t_1a29f0ba7e5298e764cb065b0aa82d1f45: .. ref-code-block:: cpp :class: doxyrest-title-code-block double spring_constant NEB spring constant k_max. Default: 5.0 .. index:: pair: variable; climbing_image .. _doxid-structgpr__neb__config__t_1a807d160e9f7f61237e89c84d163e4bc8: .. ref-code-block:: cpp :class: doxyrest-title-code-block int climbing_image 0=off, 1=on. Default: 1 .. index:: pair: variable; ci_activation_tol .. _doxid-structgpr__neb__config__t_1a10a2830caece95ae4a2b5278ac28b747: .. ref-code-block:: cpp :class: doxyrest-title-code-block double ci_activation_tol CI activation threshold. Default: 0.5 .. index:: pair: variable; n_atoms .. _doxid-structgpr__neb__config__t_1a2cad57089bd5fdf4e3e518faa02c1791: .. ref-code-block:: cpp :class: doxyrest-title-code-block int n_atoms For IDPP init. Default: 0 .. index:: pair: variable; use_idpp .. _doxid-structgpr__neb__config__t_1aa008d58bef6dfe527c097fd24726a619: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_idpp 0=off, 1=on. Default: 0 .. index:: pair: variable; acquisition .. _doxid-structgpr__neb__config__t_1aa380af5314694c67f44bbc9729905eae: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr_acquisition_t` acquisition OIE acquisition. Default: TPE .. index:: pair: variable; ucb_kappa .. _doxid-structgpr__neb__config__t_1a1e45426788143f6dba2280e5c54380ec: .. ref-code-block:: cpp :class: doxyrest-title-code-block double ucb_kappa UCB exploration param. Default: 1.0 .. index:: pair: variable; evals_per_iter .. _doxid-structgpr__neb__config__t_1abdf732c69adfa0aa4c654e9b43eef261: .. ref-code-block:: cpp :class: doxyrest-title-code-block int evals_per_iter OIE images per outer iter. Default: 1 .. index:: pair: variable; use_triplet .. _doxid-structgpr__neb__config__t_1a76c2bc9282c4c50172593b652ca071a0: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_triplet OIE: eval i-1,i,i+1. Default: 0 .. index:: pair: variable; seed .. _doxid-structgpr__neb__config__t_1a7e6be0539ec77f9b4021e2b5118b8886: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int seed RNG seed. Default: 42 .. index:: pair: variable; verbose .. _doxid-structgpr__neb__config__t_1a533d4231aa3912614a7359f725582d94: .. ref-code-block:: cpp :class: doxyrest-title-code-block int verbose Default: 1 .. index:: pair: variable; uncertainty_mode .. _doxid-structgpr__neb__config__t_1a7f28b72e744020127610b9d5288aded3: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr_uncertainty_mode_t` uncertainty_mode Default: GPR_UQ_MAP .. index:: pair: variable; use_psis_laplace .. _doxid-structgpr__neb__config__t_1a555d34ff60e4432bd3e56ffd08264371: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_psis_laplace 0=off, 1=on. Default: 0 .. index:: pair: variable; use_psis_deterministic .. _doxid-structgpr__neb__config__t_1a3b3752281d844d5938f76cc0decb6768: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_psis_deterministic Axial-grid sampler. Default: 1 .. index:: pair: variable; use_delta_method .. _doxid-structgpr__neb__config__t_1a0370a8889975acf1e1c31ace2fe78ff5: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_delta_method INLA-Delta variance. Default: 0 .. index:: pair: variable; use_zbl_prior_mean .. _doxid-structgpr__neb__config__t_1a5181d6286ce2cd916a8297c0f9edd4db: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_zbl_prior_mean Residual ZBL GP prior mean. Default: 0 .. index:: pair: variable; rff_features .. _doxid-structgpr__neb__config__t_1a5100cfdb3cb7eab02cc93c3311bcd047: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rff_features 0=off, >0 fixed count, -1 selects the count by held-out validation. Default: 0 .. index:: pair: variable; hyperparameter_mode .. _doxid-structgpr__neb__config__t_1a67f78047424de4875add58284ce97adb: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr_hyperparameter_mode_t` hyperparameter_mode Default: GPR_HOPT_SCG .. index:: pair: variable; hyperparameter_objective .. _doxid-structgpr__neb__config__t_1ad0beddbfdaa6ea9535c0376fde86e4f1: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr_hyperparameter_objective_t` hyperparameter_objective Default: GPR_HOBJ_NLML .. index:: pair: variable; max_inner_iter_gp .. _doxid-structgpr__neb__config__t_1ad2d179823469d165494d5c07f61334ac: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_inner_iter_gp GP-only inner steps. Nonpositive selects condition-driven stopping. Default: 0 .. index:: pair: variable; inner_conv_tol .. _doxid-structgpr__neb__config__t_1a4aca3b773db46010281dbe7558c3242f: .. ref-code-block:: cpp :class: doxyrest-title-code-block double inner_conv_tol Inner GP-force tol. Default: 1e-3 .. index:: pair: variable; trust_metric .. _doxid-structgpr__neb__config__t_1a6ac590413f21292cbb877f05f3bb6d0d: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr_distance_metric_t` trust_metric Default: GPR_DIST_EMD .. index:: pair: variable; use_adaptive_trust .. _doxid-structgpr__neb__config__t_1ac9eb559e8fce3c9310ac7f0d94a9507d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_adaptive_trust 0=fixed, 1=adaptive. Default: 0 (fixed-EMD certificate). .. index:: pair: variable; trust_radius .. _doxid-structgpr__neb__config__t_1a8e6e1609e5d75bf8ddcece8c1f18d30a: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust_radius Fixed radius. Default: 0.5 .. index:: pair: variable; trust_adaptive_A .. _doxid-structgpr__neb__config__t_1aa7a4d2e343d51437c7848d93f89ea58f: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust_adaptive_A A/sqrt(N) cap. Default: 1.3 .. index:: pair: variable; trust_adaptive_floor .. _doxid-structgpr__neb__config__t_1ae13a955edd92df036dfbd73e4fd9e8ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust_adaptive_floor Cap floor. Default: 0.25 .. index:: pair: variable; trust_t_min .. _doxid-structgpr__neb__config__t_1ae6ef4d557ea5d6945f6a4a8fb6cb1cf4: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust_t_min Adaptive floor. Default: 0.15 .. index:: pair: variable; trust_delta_explore .. _doxid-structgpr__neb__config__t_1afda5a3096035300010bf3706b2ecf0a8: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust_delta_explore Adaptive span. Default: 0.35 .. index:: pair: variable; trust_half_life .. _doxid-structgpr__neb__config__t_1a7e002c12073bf042066b90e6f7adacea: .. ref-code-block:: cpp :class: doxyrest-title-code-block int trust_half_life Training half-life. Default: 50 .. index:: pair: variable; trust_ratio_at_limit .. _doxid-structgpr__neb__config__t_1a7eb8372694c5f46ba9d1cf2e65d86c92: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust_ratio_at_limit MAX_1D_LOG ratio. Default: 0.4 .. index:: pair: variable; scalapack_block_size .. _doxid-structgpr__neb__config__t_1ad334320c46b8f6af80797da949543de8: .. ref-code-block:: cpp :class: doxyrest-title-code-block int scalapack_block_size 0=backend default; >0 requests ScaLAPACK block size. Default: 0 .. index:: pair: variable; scalapack_nprow .. _doxid-structgpr__neb__config__t_1a0458c25399cb36ce078d7b2ae2e99353: .. ref-code-block:: cpp :class: doxyrest-title-code-block int scalapack_nprow 0=backend default; >0 requests BLACS process rows. Default: 0 .. index:: pair: variable; lbfgs_max_move .. _doxid-structgpr__neb__config__t_1a1318a5a4bcdc4f7925559446c604c5d6: .. ref-code-block:: cpp :class: doxyrest-title-code-block double lbfgs_max_move Unweighted per-atom Cartesian cap, A. Not a mass-weighted Matter displacement. Default: 0.1 (matches GPNEBConfig) .. index:: pair: variable; lbfgs_memory .. _doxid-structgpr__neb__config__t_1a42f42ec831f472e6f05ead8d68fe9636: .. ref-code-block:: cpp :class: doxyrest-title-code-block int lbfgs_memory History size m. Default: 20 .. index:: pair: variable; lbfgs_inverse_curvature .. _doxid-structgpr__neb__config__t_1a208c0303d238c80bef13d6af65ca8083: .. ref-code-block:: cpp :class: doxyrest-title-code-block double lbfgs_inverse_curvature Default H0 scaling. Default: 0.01 .. index:: pair: variable; lbfgs_finite_difference .. _doxid-structgpr__neb__config__t_1a182c93bcee2c8bd9c45c67a5317a1c78: .. ref-code-block:: cpp :class: doxyrest-title-code-block double lbfgs_finite_difference FD probe for first step. Default: 1e-6 .. index:: pair: variable; lbfgs_auto_scale .. _doxid-structgpr__neb__config__t_1af74b721c26335d074d70948de0fd323d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int lbfgs_auto_scale 0=off, 1=on. Default: 1 .. index:: pair: variable; lbfgs_angle_reset .. _doxid-structgpr__neb__config__t_1a7d95c4534aeab0be48f994d30be48a96: .. ref-code-block:: cpp :class: doxyrest-title-code-block int lbfgs_angle_reset 0=off, 1=on. Default: 1 .. index:: pair: variable; lbfgs_distance_reset .. _doxid-structgpr__neb__config__t_1ae6de2ca3256985389b54e2c445b3375d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int lbfgs_distance_reset 0=off, 1=on. Default: 1 .. index:: pair: variable; reparam_period .. _doxid-structgpr__neb__config__t_1acebc1e3cc7592cc732007cf2e9b58c17: .. ref-code-block:: cpp :class: doxyrest-title-code-block int reparam_period Legacy periodic control, retained for ABI compatibility. Default: 0 .. index:: pair: variable; reparam_tol .. _doxid-structgpr__neb__config__t_1ad7af346882ea6865faab60144458dddd: .. ref-code-block:: cpp :class: doxyrest-title-code-block double reparam_tol Legacy spacing control, retained for ABI compatibility. Default: -1 .. index:: pair: variable; use_ff_prior_mean .. _doxid-structgpr__neb__config__t_1adf8698540d804f5de4820e6f13f4cd11: .. ref-code-block:: cpp :class: doxyrest-title-code-block int use_ff_prior_mean Teng Morse FF prior mean. Default: 0