struct gpr_dimer_report_t

Overview

Outcome of gpr_dimer_search_report (ABI 1.1). The caller sets struct_size = sizeof(gpr_dimer_report_t); the library fills only the fields that fit, so a struct extended at the end stays compatible. More…

#include <gpr/capi/gpridge_c.h>
 
struct gpr_dimer_report_t {
    // fields
 
    size_t struct_size;
    int converged;
    gpr_dimer_stop_t stop;
    double curvature;
    double final_force_norm;
    long n_force_calls;
    long n_gp_calls;
    long n_iterations;
    int max_oracle_calls;
    double energy_zero_level;
    double certificate_step;
    long n_certificate_calls;
    int certified;
};

Detailed Documentation

Outcome of gpr_dimer_search_report (ABI 1.1). The caller sets struct_size = sizeof(gpr_dimer_report_t); the library fills only the fields that fit, so a struct extended at the end stays compatible.

Fields

int converged

1 when the force criterion is met and the index certificate there measures one negative mode

gpr_dimer_stop_t stop

Why the search stopped

double curvature

Curvature along the final orientation

double final_force_norm

Force in the configured norm

long n_force_calls

True oracle evaluations

long n_gp_calls

GP surrogate evaluations

long n_iterations

Outer relaxation phases

int max_oracle_calls

Input: budget of oracle calls, never exceeded; 0 = none

double energy_zero_level

E_saddle + energy_zero_level is the absolute saddle energy

double certificate_step

Input (ABI 1.5): Cartesian displacement of the stencil that certifies the midpoint the force loop stopped on, in the coordinate unit. 0, the default, selects the library stencil step

long n_certificate_calls

(ABI 1.5) True oracle evaluations the certificate spent after the force stop; not part of n_force_calls. Both count toward max_oracle_calls

int certified

(ABI 1.5) 1 when the certificate found one negative mode