Loading...
Searching...
No Matches
gpr_local_band_config_t Struct Reference

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>

Public Attributes

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 Description

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).

Definition at line 1010 of file gpridge_c.h.

Member Data Documentation

◆ batch

int gpr_local_band_config_t::batch

Images measured per round. Default: 1

Definition at line 1030 of file gpridge_c.h.

◆ batch_growth

int gpr_local_band_config_t::batch_growth

Rounds per extra batch image, 0 holds it. Default: 8

Definition at line 1031 of file gpridge_c.h.

◆ batch_max

int gpr_local_band_config_t::batch_max

Largest batch. Default: 3

Definition at line 1033 of file gpridge_c.h.

◆ certificate_step

double gpr_local_band_config_t::certificate_step

Stencil step. 0 selects the library step. Default: 0

Definition at line 1051 of file gpridge_c.h.

◆ cycles

int gpr_local_band_config_t::cycles

Substrate and polish cycles per outer. Default: 2

Definition at line 1048 of file gpridge_c.h.

◆ far_refresh

double gpr_local_band_config_t::far_refresh

Displacement that refreshes the substrate Hessian. Default: 0.05

Definition at line 1027 of file gpridge_c.h.

◆ far_trust

double gpr_local_band_config_t::far_trust

Substrate step trust. Default: 0.5

Definition at line 1026 of file gpridge_c.h.

◆ force_stop_certificate

int gpr_local_band_config_t::force_stop_certificate

1: certify the stopped band. Default: 0

Definition at line 1050 of file gpridge_c.h.

◆ fraction

double gpr_local_band_config_t::fraction

Endpoint-displacement fraction. Default: 0.1

Definition at line 1011 of file gpridge_c.h.

◆ grow_radius

double gpr_local_band_config_t::grow_radius

Radius that grows a stalled local set, 0 never. Default: 3

Definition at line 1037 of file gpridge_c.h.

◆ initial_sweep

int gpr_local_band_config_t::initial_sweep

1: measure the seeded interior first. Default: 1

Definition at line 1029 of file gpridge_c.h.

◆ inner_max

int gpr_local_band_config_t::inner_max

Quasi-Newton iterations per polish. Default: 20

Definition at line 1015 of file gpridge_c.h.

◆ inner_tol_factor

double gpr_local_band_config_t::inner_tol_factor

Polish exit, multiple of conv_tol. Default: 0.5

Definition at line 1018 of file gpridge_c.h.

◆ jacobi

int gpr_local_band_config_t::jacobi

1: scale the local block by the baseline Hessian. Default: 0

Definition at line 1035 of file gpridge_c.h.

◆ keep_memory

int gpr_local_band_config_t::keep_memory

1: keep quasi-Newton memory across outers. Default: 1

Definition at line 1041 of file gpridge_c.h.

◆ noise

double gpr_local_band_config_t::noise

Energy and gradient noise. Default: 1e-3

Definition at line 1023 of file gpridge_c.h.

◆ pair_cutoff

double gpr_local_band_config_t::pair_cutoff

Pair spline cutoff, 0 disables it. Default: 9.5

Definition at line 1024 of file gpridge_c.h.

◆ pair_spacing

double gpr_local_band_config_t::pair_spacing

Knot spacing, 0 derives it. Default: 0

Definition at line 1025 of file gpridge_c.h.

◆ pair_split

double gpr_local_band_config_t::pair_split

Pairs beyond this distance are held linear. 0 evaluates every pair. Default: 7

Definition at line 1044 of file gpridge_c.h.

◆ pair_tail_refresh

double gpr_local_band_config_t::pair_tail_refresh

Resum the held pairs after this move. Default: 0

Definition at line 1046 of file gpridge_c.h.

◆ phase

int gpr_local_band_config_t::phase

1: finish local atoms after the substrate. Default: 1

Definition at line 1020 of file gpridge_c.h.

◆ radius

double gpr_local_band_config_t::radius

Neighbour radius, 0 keeps the fraction. Default: 0

Definition at line 1012 of file gpridge_c.h.

◆ refit_every

int gpr_local_band_config_t::refit_every

Rebuild the residual every this many outers. 0 never rebuilds. Default: 4

Definition at line 1021 of file gpridge_c.h.

◆ refit_iters

int gpr_local_band_config_t::refit_iters

Marginal-likelihood iterations, 0 keeps the seed. Default: 0

Definition at line 1016 of file gpridge_c.h.

◆ residual

int gpr_local_band_config_t::residual

1: add the local GP residual. Default: 1

Definition at line 1043 of file gpridge_c.h.

◆ safeguard

int gpr_local_band_config_t::safeguard

1: halve a step that raises the surrogate force. Default: 1

Definition at line 1039 of file gpridge_c.h.

◆ sweep

int gpr_local_band_config_t::sweep

1: measure every image after each polish. Default: 0

Definition at line 1049 of file gpridge_c.h.

◆ sweep_images

int gpr_local_band_config_t::sweep_images

Bands this small measure every image. Default: 0

Definition at line 1034 of file gpridge_c.h.

◆ trust

double gpr_local_band_config_t::trust

Polish trust radius. Default: 0.3

Definition at line 1014 of file gpridge_c.h.

◆ vibrational_stencil

int gpr_local_band_config_t::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.

Definition at line 1053 of file gpridge_c.h.

◆ window

int gpr_local_band_config_t::window

Retained local observations. Default: 16

Definition at line 1013 of file gpridge_c.h.


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