struct gpr_local_band_config_t¶
Overview¶
Local-band knobs (ABI 1.6), the gp_local_* fields of the C++ config. Start from gpr_local_band_config_defaults(). Lengths are Angstrom. force_stop_certificate asks for the band index certificate; certificate_step is the stencil displacement, and 0 keeps the library step. gpr_neb_search_local is the entry point: gpr_neb_search and gpr_neb_search_potential reject GPR_NEB_GP_LOCAL with GPR_ERR_INVALID_ARG (kLocalModeEntry). More…
#include <gpr/capi/gpridge_c.h>
struct gpr_local_band_config_t {
// fields
double fraction;
double radius;
int window;
double trust;
int inner_max;
int refit_iters;
double inner_tol_factor;
int phase;
int refit_every;
double noise;
double pair_cutoff;
double pair_spacing;
double far_trust;
double far_refresh;
int initial_sweep;
int batch;
int batch_growth;
int batch_max;
int sweep_images;
int jacobi;
double grow_radius;
int safeguard;
int keep_memory;
int residual;
double pair_split;
double pair_tail_refresh;
int cycles;
int sweep;
int force_stop_certificate;
double certificate_step;
int vibrational_stencil;
};
Detailed Documentation¶
Local-band knobs (ABI 1.6), the gp_local_* fields of the C++ config. Start from gpr_local_band_config_defaults(). Lengths are Angstrom. force_stop_certificate asks for the band index certificate; certificate_step is the stencil displacement, and 0 keeps the library step. gpr_neb_search_local is the entry point: gpr_neb_search and gpr_neb_search_potential reject GPR_NEB_GP_LOCAL with GPR_ERR_INVALID_ARG (kLocalModeEntry).
Fields¶
double fraction
Endpoint-displacement fraction. Default: 0.1
double radius
Neighbour radius, 0 keeps the fraction. Default: 0
int window
Retained local observations. Default: 16
double trust
Polish trust radius. Default: 0.3
int inner_max
Quasi-Newton iterations per polish. Default: 20
int refit_iters
Marginal-likelihood iterations, 0 keeps the seed. Default: 0
double inner_tol_factor
Polish exit, multiple of conv_tol. Default: 0.5
int phase
1: finish local atoms after the substrate. Default: 1
int refit_every
Rebuild the residual every this many outers. 0 never rebuilds. Default: 4
double noise
Energy and gradient noise. Default: 1e-3
double pair_cutoff
Pair spline cutoff, 0 disables it. Default: 9.5
double pair_spacing
Knot spacing, 0 derives it. Default: 0
double far_trust
Substrate step trust. Default: 0.5
double far_refresh
Displacement that refreshes the substrate Hessian. Default: 0.05
int initial_sweep
1: measure the seeded interior first. Default: 1
int batch
Images measured per round. Default: 1
int batch_growth
Rounds per extra batch image, 0 holds it. Default: 8
int batch_max
Largest batch. Default: 3
int sweep_images
Bands this small measure every image. Default: 0
int jacobi
1: scale the local block by the baseline Hessian. Default: 0
double grow_radius
Radius that grows a stalled local set, 0 never. Default: 3
int safeguard
1: halve a step that raises the surrogate force. Default: 1
int keep_memory
1: keep quasi-Newton memory across outers. Default: 1
int residual
1: add the local GP residual. Default: 1
double pair_split
Pairs beyond this distance are held linear. 0 evaluates every pair. Default: 7
double pair_tail_refresh
Resum the held pairs after this move. Default: 0
int cycles
Substrate and polish cycles per outer. Default: 2
int sweep
1: measure every image after each polish. Default: 0
int force_stop_certificate
1: certify the stopped band. Default: 0
double certificate_step
Stencil step. 0 selects the library step. Default: 0
int vibrational_stencil
0 = full Cartesian stencil, 1 = vibrational directions. Default: 0. Any other value is rejected. Appended in ABI 1.21; callers built against an older header must recompile before passing this struct. The tail padding of gpr_neb_config_t is not this field: that struct stays 280 bytes, and the non-local search takes the choice from gpr_neb_request_vibrational_stencil.