Classes | |
| struct | gpr_neb_report_t |
| Outcome of a NEB run (ABI 1.2), read from any result handle with gpr_neb_result_report. The caller sets struct_size = sizeof(gpr_neb_report_t); the library fills only the fields that fit, so a struct extended at the end stays compatible. More... | |
| struct | gpr_ocineb_config_t |
| OCINEB controls (ABI 1.2): the minimum-mode dimer bursts that drive the climbing image of a GP band onto the saddle. Start from gpr_ocineb_config_defaults(). More... | |
Functions | |
| int | gpr_neb_result_report (gpr_neb_t result, gpr_neb_report_t *report) |
| Fill report from a result of any NEB entry point (ABI 1.2). report must not be NULL and report->struct_size must be set; GPR_ERR_NULL_HANDLE for a NULL result. | |
| gpr_neb_t | gpr_neb_search_gp (gpr_oracle_fn oracle, void *user_data, gpr_atoms_t atoms, const gpr_model_config_t *model, const double *R_initial, const double *R_final, int n_coords, int n_images, const gpr_neb_config_t *config) |
| GP-accelerated NEB (ABI 1.2): the band relaxes on a GP surrogate of the oracle and the oracle evaluates the images the acquisition selects. | |
| gpr_neb_t | gpr_neb_search_gp_potential (gpr_potential_t pot, gpr_atoms_t atoms, const double *box, const gpr_model_config_t *model, const double *R_initial, const double *R_final, int n_coords, int n_images, const gpr_neb_config_t *config) |
| gpr_neb_search_gp over a PotentialWrapper handle (ABI 1.2). The atomic numbers passed to the potential are those of the atoms descriptor (1 when it gave none). box is 9 doubles, row-major 3x3, or NULL for an isolated system; a periodic box also sets the band's and the kernel's minimum-image lattice. | |
| gpr_ocineb_config_t | gpr_ocineb_config_defaults (void) |
| Library defaults of every gpr_ocineb_config_t field (ABI 1.2). | |
| gpr_neb_t | gpr_ocineb_search (gpr_oracle_fn oracle, void *user_data, gpr_atoms_t atoms, const gpr_model_config_t *model, const double *R_initial, const double *R_final, int n_coords, int n_images, const gpr_neb_config_t *config, const gpr_ocineb_config_t *oci) |
| GP-NEB with interleaved dimer bursts on the climbing image (ABI 1.2), the band-to-dimer handover of gprn. Arguments as gpr_neb_search_gp, plus the OCINEB controls; oci NULL selects gpr_ocineb_config_defaults(). gpr_neb_result_report gives the dimer accounting. | |
| int gpr_neb_result_report | ( | gpr_neb_t | result, |
| gpr_neb_report_t * | report ) |
Fill report from a result of any NEB entry point (ABI 1.2). report must not be NULL and report->struct_size must be set; GPR_ERR_NULL_HANDLE for a NULL result.
| gpr_neb_t gpr_neb_search_gp | ( | gpr_oracle_fn | oracle, |
| void * | user_data, | ||
| gpr_atoms_t | atoms, | ||
| const gpr_model_config_t * | model, | ||
| const double * | R_initial, | ||
| const double * | R_final, | ||
| int | n_coords, | ||
| int | n_images, | ||
| const gpr_neb_config_t * | config ) |
GP-accelerated NEB (ABI 1.2): the band relaxes on a GP surrogate of the oracle and the oracle evaluates the images the acquisition selects.
The coordinates are those of every atom of the atoms handle: R_initial and R_final have n_coords = 3 * n_atoms_total values and the oracle receives and returns full-length arrays. Frozen atoms stay at their R_initial positions; the band moves the other atoms only, and the result accessors return full-length images. The GP kernel types the atoms by atom_types and takes the frozen atoms within actdist_fro into its environment (0 selects the gprn radius, 30.3 Angstrom). The atomic numbers of the descriptor, when given, key the band's contact floor.
| oracle | Energy/gradient callback over all 3 * n_atoms_total coordinates |
| user_data | Opaque pointer passed to oracle |
| atoms | Atom typing and frozen atoms (gpr_atoms_create) |
| model | GP settings; NULL selects those of the gprn NEB driver (sigma2 = jitter_sigma2 = 1e-4, 400 SCG iterations at tolerance 1e-3). gpr_model_config_defaults() carries those same noise values. optim_alg must be GPR_OPT_SCG; the TP fields are ignored. |
| R_initial | Initial state positions (n_coords) |
| R_final | Final state positions (n_coords) |
| n_coords | 3 * n_atoms_total |
| n_images | Number of intermediate images (excluding endpoints) |
| config | NEB configuration; mode must be GPR_NEB_GP_OIE or GPR_NEB_GP_AIE |
| gpr_neb_t gpr_neb_search_gp_potential | ( | gpr_potential_t | pot, |
| gpr_atoms_t | atoms, | ||
| const double * | box, | ||
| const gpr_model_config_t * | model, | ||
| const double * | R_initial, | ||
| const double * | R_final, | ||
| int | n_coords, | ||
| int | n_images, | ||
| const gpr_neb_config_t * | config ) |
gpr_neb_search_gp over a PotentialWrapper handle (ABI 1.2). The atomic numbers passed to the potential are those of the atoms descriptor (1 when it gave none). box is 9 doubles, row-major 3x3, or NULL for an isolated system; a periodic box also sets the band's and the kernel's minimum-image lattice.
| gpr_ocineb_config_t gpr_ocineb_config_defaults | ( | void | ) |
Library defaults of every gpr_ocineb_config_t field (ABI 1.2).
| gpr_neb_t gpr_ocineb_search | ( | gpr_oracle_fn | oracle, |
| void * | user_data, | ||
| gpr_atoms_t | atoms, | ||
| const gpr_model_config_t * | model, | ||
| const double * | R_initial, | ||
| const double * | R_final, | ||
| int | n_coords, | ||
| int | n_images, | ||
| const gpr_neb_config_t * | config, | ||
| const gpr_ocineb_config_t * | oci ) |
GP-NEB with interleaved dimer bursts on the climbing image (ABI 1.2), the band-to-dimer handover of gprn. Arguments as gpr_neb_search_gp, plus the OCINEB controls; oci NULL selects gpr_ocineb_config_defaults(). gpr_neb_result_report gives the dimer accounting.