.. index:: pair: struct; gpr_local_band_config_t .. _doxid-structgpr__local__band__config__t: struct gpr_local_band_config_t ============================== .. toctree:: :hidden: Overview ~~~~~~~~ Local-band knobs (ABI 1.6), the gp_local\_\* fields of the C++ config. Start from :ref:`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). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct gpr_local_band_config_t { // fields double :ref:`fraction`; double :ref:`radius`; int :ref:`window`; double :ref:`trust`; int :ref:`inner_max`; int :ref:`refit_iters`; double :ref:`inner_tol_factor`; int :ref:`phase`; int :ref:`refit_every`; double :ref:`noise`; double :ref:`pair_cutoff`; double :ref:`pair_spacing`; double :ref:`far_trust`; double :ref:`far_refresh`; int :ref:`initial_sweep`; int :ref:`batch`; int :ref:`batch_growth`; int :ref:`batch_max`; int :ref:`sweep_images`; int :ref:`jacobi`; double :ref:`grow_radius`; int :ref:`safeguard`; int :ref:`keep_memory`; int :ref:`residual`; double :ref:`pair_split`; double :ref:`pair_tail_refresh`; int :ref:`cycles`; int :ref:`sweep`; int :ref:`force_stop_certificate`; double :ref:`certificate_step`; int :ref:`vibrational_stencil`; }; .. _details-structgpr__local__band__config__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Local-band knobs (ABI 1.6), the gp_local\_\* fields of the C++ config. Start from :ref:`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 ------ .. index:: pair: variable; fraction .. _doxid-structgpr__local__band__config__t_1aabe2ffbc8dc1ab8a69bc8807ba0ae1eb: .. ref-code-block:: cpp :class: doxyrest-title-code-block double fraction Endpoint-displacement fraction. Default: 0.1 .. index:: pair: variable; radius .. _doxid-structgpr__local__band__config__t_1a7c7501b78fc66087ae630b01a882a8c1: .. ref-code-block:: cpp :class: doxyrest-title-code-block double radius Neighbour radius, 0 keeps the fraction. Default: 0 .. index:: pair: variable; window .. _doxid-structgpr__local__band__config__t_1a2f36172e396e70e0b2e2119c130975d7: .. ref-code-block:: cpp :class: doxyrest-title-code-block int window Retained local observations. Default: 16 .. index:: pair: variable; trust .. _doxid-structgpr__local__band__config__t_1a8d954e21e35530affcb4b7c3c25529cd: .. ref-code-block:: cpp :class: doxyrest-title-code-block double trust Polish trust radius. Default: 0.3 .. index:: pair: variable; inner_max .. _doxid-structgpr__local__band__config__t_1a95c6d0deac71d1e3e04eae57e10d6e6d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int inner_max Quasi-Newton iterations per polish. Default: 20 .. index:: pair: variable; refit_iters .. _doxid-structgpr__local__band__config__t_1a1a1b747ea4f41436a3523bbbf86e02bb: .. ref-code-block:: cpp :class: doxyrest-title-code-block int refit_iters Marginal-likelihood iterations, 0 keeps the seed. Default: 0 .. index:: pair: variable; inner_tol_factor .. _doxid-structgpr__local__band__config__t_1aa07335fd67aeb745bac26a8a682e7e59: .. ref-code-block:: cpp :class: doxyrest-title-code-block double inner_tol_factor Polish exit, multiple of conv_tol. Default: 0.5 .. index:: pair: variable; phase .. _doxid-structgpr__local__band__config__t_1a1420d7317927713dd009bd42ea35c118: .. ref-code-block:: cpp :class: doxyrest-title-code-block int phase 1: finish local atoms after the substrate. Default: 1 .. index:: pair: variable; refit_every .. _doxid-structgpr__local__band__config__t_1aa6c0effeee2b5acd69a3ee9daf559895: .. ref-code-block:: cpp :class: doxyrest-title-code-block int refit_every Rebuild the residual every this many outers. 0 never rebuilds. Default: 4 .. index:: pair: variable; noise .. _doxid-structgpr__local__band__config__t_1a07ad58ebf5cd5bfd5ab16c4c0a0a43ce: .. ref-code-block:: cpp :class: doxyrest-title-code-block double noise Energy and gradient noise. Default: 1e-3 .. index:: pair: variable; pair_cutoff .. _doxid-structgpr__local__band__config__t_1aa2f8e2f02662b55f1999a87a2e6ee8df: .. ref-code-block:: cpp :class: doxyrest-title-code-block double pair_cutoff Pair spline cutoff, 0 disables it. Default: 9.5 .. index:: pair: variable; pair_spacing .. _doxid-structgpr__local__band__config__t_1a5481d7282d8dc266a321f90fa4119e71: .. ref-code-block:: cpp :class: doxyrest-title-code-block double pair_spacing Knot spacing, 0 derives it. Default: 0 .. index:: pair: variable; far_trust .. _doxid-structgpr__local__band__config__t_1ad43cdd9202c029364055be459300143d: .. ref-code-block:: cpp :class: doxyrest-title-code-block double far_trust Substrate step trust. Default: 0.5 .. index:: pair: variable; far_refresh .. _doxid-structgpr__local__band__config__t_1a07846e3705795f40c993c9808e04d190: .. ref-code-block:: cpp :class: doxyrest-title-code-block double far_refresh Displacement that refreshes the substrate Hessian. Default: 0.05 .. index:: pair: variable; initial_sweep .. _doxid-structgpr__local__band__config__t_1a1bb436f4b65c9cee6e698aa6287e5977: .. ref-code-block:: cpp :class: doxyrest-title-code-block int initial_sweep 1: measure the seeded interior first. Default: 1 .. index:: pair: variable; batch .. _doxid-structgpr__local__band__config__t_1a1723fa802b1f106b46a77368e039b0b4: .. ref-code-block:: cpp :class: doxyrest-title-code-block int batch Images measured per round. Default: 1 .. index:: pair: variable; batch_growth .. _doxid-structgpr__local__band__config__t_1ac61955bb3255d0a179dd074b04a56015: .. ref-code-block:: cpp :class: doxyrest-title-code-block int batch_growth Rounds per extra batch image, 0 holds it. Default: 8 .. index:: pair: variable; batch_max .. _doxid-structgpr__local__band__config__t_1a1b9a12dc2b5eac43f5553f7957cfa713: .. ref-code-block:: cpp :class: doxyrest-title-code-block int batch_max Largest batch. Default: 3 .. index:: pair: variable; sweep_images .. _doxid-structgpr__local__band__config__t_1a57b8151bd5319dfa962063fa5fe88678: .. ref-code-block:: cpp :class: doxyrest-title-code-block int sweep_images Bands this small measure every image. Default: 0 .. index:: pair: variable; jacobi .. _doxid-structgpr__local__band__config__t_1aa8a64da88c843cba132af6773cf1a977: .. ref-code-block:: cpp :class: doxyrest-title-code-block int jacobi 1: scale the local block by the baseline Hessian. Default: 0 .. index:: pair: variable; grow_radius .. _doxid-structgpr__local__band__config__t_1a169ae06e1aa5c379ccbd05e16819a675: .. ref-code-block:: cpp :class: doxyrest-title-code-block double grow_radius Radius that grows a stalled local set, 0 never. Default: 3 .. index:: pair: variable; safeguard .. _doxid-structgpr__local__band__config__t_1aedebb71b0e5532a5fbdab268bf9062b9: .. ref-code-block:: cpp :class: doxyrest-title-code-block int safeguard 1: halve a step that raises the surrogate force. Default: 1 .. index:: pair: variable; keep_memory .. _doxid-structgpr__local__band__config__t_1ad3d6bacb87dd834c6f836cce27581715: .. ref-code-block:: cpp :class: doxyrest-title-code-block int keep_memory 1: keep quasi-Newton memory across outers. Default: 1 .. index:: pair: variable; residual .. _doxid-structgpr__local__band__config__t_1a06ae487cb43db251a8ccc87c2727df13: .. ref-code-block:: cpp :class: doxyrest-title-code-block int residual 1: add the local GP residual. Default: 1 .. index:: pair: variable; pair_split .. _doxid-structgpr__local__band__config__t_1ac732b79a69b24747bb876049ce2322d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block double pair_split Pairs beyond this distance are held linear. 0 evaluates every pair. Default: 7 .. index:: pair: variable; pair_tail_refresh .. _doxid-structgpr__local__band__config__t_1a2be2d7d58294ac28cfad718294f8baab: .. ref-code-block:: cpp :class: doxyrest-title-code-block double pair_tail_refresh Resum the held pairs after this move. Default: 0 .. index:: pair: variable; cycles .. _doxid-structgpr__local__band__config__t_1a9a63c969b53d4e388e58d973c93a34d0: .. ref-code-block:: cpp :class: doxyrest-title-code-block int cycles Substrate and polish cycles per outer. Default: 2 .. index:: pair: variable; sweep .. _doxid-structgpr__local__band__config__t_1a56d5981969c77274c9f73b4a4315f96b: .. ref-code-block:: cpp :class: doxyrest-title-code-block int sweep 1: measure every image after each polish. Default: 0 .. index:: pair: variable; force_stop_certificate .. _doxid-structgpr__local__band__config__t_1a8ea55f61e38c7d1c156f5ec5cc884e80: .. ref-code-block:: cpp :class: doxyrest-title-code-block int force_stop_certificate 1: certify the stopped band. Default: 0 .. index:: pair: variable; certificate_step .. _doxid-structgpr__local__band__config__t_1ac5500f40c17d5bd132280aa961d256ba: .. ref-code-block:: cpp :class: doxyrest-title-code-block double certificate_step Stencil step. 0 selects the library step. Default: 0 .. index:: pair: variable; vibrational_stencil .. _doxid-structgpr__local__band__config__t_1a777a8dd7960541acdd47c00e30f66126: .. ref-code-block:: cpp :class: doxyrest-title-code-block 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 :ref:`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.