Loading...
Searching...
No Matches
gpr_neb_config_t Struct Reference

NEB search configuration. More...

#include <gpr/capi/gpridge_c.h>

Public Attributes

gpr_neb_mode_t mode
double conv_tol
int max_outer_iter
int max_inner_iter
double inner_step_size
double spring_constant
int climbing_image
double ci_activation_tol
int n_atoms
int use_idpp
gpr_acquisition_t acquisition
double ucb_kappa
int evals_per_iter
int use_triplet
unsigned int seed
int verbose
gpr_uncertainty_mode_t uncertainty_mode
int use_psis_laplace
int use_psis_deterministic
int use_delta_method
int use_zbl_prior_mean
int rff_features
gpr_hyperparameter_mode_t hyperparameter_mode
gpr_hyperparameter_objective_t hyperparameter_objective
int max_inner_iter_gp
double inner_conv_tol
gpr_distance_metric_t trust_metric
int use_adaptive_trust
double trust_radius
double trust_adaptive_A
double trust_adaptive_floor
double trust_t_min
double trust_delta_explore
int trust_half_life
double trust_ratio_at_limit
int scalapack_block_size
int scalapack_nprow
double lbfgs_max_move
int lbfgs_memory
double lbfgs_inverse_curvature
double lbfgs_finite_difference
int lbfgs_auto_scale
int lbfgs_angle_reset
int lbfgs_distance_reset
int reparam_period
double reparam_tol
int use_ff_prior_mean

Detailed Description

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.

Definition at line 926 of file gpridge_c.h.

Member Data Documentation

◆ acquisition

gpr_acquisition_t gpr_neb_config_t::acquisition

OIE acquisition. Default: TPE

Definition at line 937 of file gpridge_c.h.

◆ ci_activation_tol

double gpr_neb_config_t::ci_activation_tol

CI activation threshold. Default: 0.5

Definition at line 934 of file gpridge_c.h.

◆ climbing_image

int gpr_neb_config_t::climbing_image

0=off, 1=on. Default: 1

Definition at line 933 of file gpridge_c.h.

◆ conv_tol

double gpr_neb_config_t::conv_tol

Max force convergence. Default: 0.05

Definition at line 928 of file gpridge_c.h.

◆ evals_per_iter

int gpr_neb_config_t::evals_per_iter

OIE images per outer iter. Default: 1

Definition at line 939 of file gpridge_c.h.

◆ hyperparameter_mode

gpr_hyperparameter_mode_t gpr_neb_config_t::hyperparameter_mode

Default: GPR_HOPT_SCG

Definition at line 952 of file gpridge_c.h.

◆ hyperparameter_objective

gpr_hyperparameter_objective_t gpr_neb_config_t::hyperparameter_objective

Default: GPR_HOBJ_NLML

Definition at line 954 of file gpridge_c.h.

◆ inner_conv_tol

double gpr_neb_config_t::inner_conv_tol

Inner GP-force tol. Default: 1e-3

Definition at line 957 of file gpridge_c.h.

◆ inner_step_size

double gpr_neb_config_t::inner_step_size

Steepest descent step. Default: 0.01

Definition at line 931 of file gpridge_c.h.

◆ lbfgs_angle_reset

int gpr_neb_config_t::lbfgs_angle_reset

0=off, 1=on. Default: 1

Definition at line 986 of file gpridge_c.h.

◆ lbfgs_auto_scale

int gpr_neb_config_t::lbfgs_auto_scale

0=off, 1=on. Default: 1

Definition at line 985 of file gpridge_c.h.

◆ lbfgs_distance_reset

int gpr_neb_config_t::lbfgs_distance_reset

0=off, 1=on. Default: 1

Definition at line 987 of file gpridge_c.h.

◆ lbfgs_finite_difference

double gpr_neb_config_t::lbfgs_finite_difference

FD probe for first step. Default: 1e-6

Definition at line 984 of file gpridge_c.h.

◆ lbfgs_inverse_curvature

double gpr_neb_config_t::lbfgs_inverse_curvature

Default H0 scaling. Default: 0.01

Definition at line 982 of file gpridge_c.h.

◆ lbfgs_max_move

double gpr_neb_config_t::lbfgs_max_move

Unweighted per-atom Cartesian cap, A. Not a mass-weighted Matter displacement. Default: 0.1 (matches GPNEBConfig)

Definition at line 978 of file gpridge_c.h.

◆ lbfgs_memory

int gpr_neb_config_t::lbfgs_memory

History size m. Default: 20

Definition at line 981 of file gpridge_c.h.

◆ max_inner_iter

int gpr_neb_config_t::max_inner_iter

Legacy AIE inner step count. Default: 100

Definition at line 930 of file gpridge_c.h.

◆ max_inner_iter_gp

int gpr_neb_config_t::max_inner_iter_gp

GP-only inner steps. Nonpositive selects condition-driven stopping. Default: 0

Definition at line 955 of file gpridge_c.h.

◆ max_outer_iter

int gpr_neb_config_t::max_outer_iter

Default: 200

Definition at line 929 of file gpridge_c.h.

◆ mode

gpr_neb_mode_t gpr_neb_config_t::mode

Evaluation mode. Default: GPR_NEB_GP_OIE

Definition at line 927 of file gpridge_c.h.

◆ n_atoms

int gpr_neb_config_t::n_atoms

For IDPP init. Default: 0

Definition at line 935 of file gpridge_c.h.

◆ reparam_period

int gpr_neb_config_t::reparam_period

Legacy periodic control, retained for ABI compatibility. Default: 0

Definition at line 990 of file gpridge_c.h.

◆ reparam_tol

double gpr_neb_config_t::reparam_tol

Legacy spacing control, retained for ABI compatibility. Default: -1

Definition at line 992 of file gpridge_c.h.

◆ rff_features

int gpr_neb_config_t::rff_features

0=off, >0 fixed count, -1 selects the count by held-out validation. Default: 0

Definition at line 950 of file gpridge_c.h.

◆ scalapack_block_size

int gpr_neb_config_t::scalapack_block_size

0=backend default; >0 requests ScaLAPACK block size. Default: 0

Definition at line 972 of file gpridge_c.h.

◆ scalapack_nprow

int gpr_neb_config_t::scalapack_nprow

0=backend default; >0 requests BLACS process rows. Default: 0

Definition at line 974 of file gpridge_c.h.

◆ seed

unsigned int gpr_neb_config_t::seed

RNG seed. Default: 42

Definition at line 941 of file gpridge_c.h.

◆ spring_constant

double gpr_neb_config_t::spring_constant

NEB spring constant k_max. Default: 5.0

Definition at line 932 of file gpridge_c.h.

◆ trust_adaptive_A

double gpr_neb_config_t::trust_adaptive_A

A/sqrt(N) cap. Default: 1.3

Definition at line 964 of file gpridge_c.h.

◆ trust_adaptive_floor

double gpr_neb_config_t::trust_adaptive_floor

Cap floor. Default: 0.25

Definition at line 965 of file gpridge_c.h.

◆ trust_delta_explore

double gpr_neb_config_t::trust_delta_explore

Adaptive span. Default: 0.35

Definition at line 967 of file gpridge_c.h.

◆ trust_half_life

int gpr_neb_config_t::trust_half_life

Training half-life. Default: 50

Definition at line 968 of file gpridge_c.h.

◆ trust_metric

gpr_distance_metric_t gpr_neb_config_t::trust_metric

Default: GPR_DIST_EMD

Definition at line 960 of file gpridge_c.h.

◆ trust_radius

double gpr_neb_config_t::trust_radius

Fixed radius. Default: 0.5

Definition at line 963 of file gpridge_c.h.

◆ trust_ratio_at_limit

double gpr_neb_config_t::trust_ratio_at_limit

MAX_1D_LOG ratio. Default: 0.4

Definition at line 969 of file gpridge_c.h.

◆ trust_t_min

double gpr_neb_config_t::trust_t_min

Adaptive floor. Default: 0.15

Definition at line 966 of file gpridge_c.h.

◆ ucb_kappa

double gpr_neb_config_t::ucb_kappa

UCB exploration param. Default: 1.0

Definition at line 938 of file gpridge_c.h.

◆ uncertainty_mode

gpr_uncertainty_mode_t gpr_neb_config_t::uncertainty_mode

Default: GPR_UQ_MAP

Definition at line 945 of file gpridge_c.h.

◆ use_adaptive_trust

int gpr_neb_config_t::use_adaptive_trust

0=fixed, 1=adaptive. Default: 0 (fixed-EMD certificate).

Definition at line 961 of file gpridge_c.h.

◆ use_delta_method

int gpr_neb_config_t::use_delta_method

INLA-Delta variance. Default: 0

Definition at line 948 of file gpridge_c.h.

◆ use_ff_prior_mean

int gpr_neb_config_t::use_ff_prior_mean

Teng Morse FF prior mean. Default: 0

Definition at line 994 of file gpridge_c.h.

◆ use_idpp

int gpr_neb_config_t::use_idpp

0=off, 1=on. Default: 0

Definition at line 936 of file gpridge_c.h.

◆ use_psis_deterministic

int gpr_neb_config_t::use_psis_deterministic

Axial-grid sampler. Default: 1

Definition at line 947 of file gpridge_c.h.

◆ use_psis_laplace

int gpr_neb_config_t::use_psis_laplace

0=off, 1=on. Default: 0

Definition at line 946 of file gpridge_c.h.

◆ use_triplet

int gpr_neb_config_t::use_triplet

OIE: eval i-1,i,i+1. Default: 0

Definition at line 940 of file gpridge_c.h.

◆ use_zbl_prior_mean

int gpr_neb_config_t::use_zbl_prior_mean

Residual ZBL GP prior mean. Default: 0

Definition at line 949 of file gpridge_c.h.

◆ verbose

int gpr_neb_config_t::verbose

Default: 1

Definition at line 942 of file gpridge_c.h.


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