24[[nodiscard]] Eigen::MatrixXd saddlePolishBasis(
25 const Eigen::VectorXd& positions,
26 const gpr::AtomsConfiguration& configuration);
28[[nodiscard]]
double saddlePolishForceMagnitude(
29 const Eigen::VectorXd& positions,
const Eigen::VectorXd& gradient,
30 const gpr::AtomsConfiguration& configuration);
81 -std::numeric_limits<double>::infinity();
98 double refused_energy)
const noexcept;
107 const Eigen::VectorXd& x_ci,
double e_ci,
const Eigen::VectorXd& g_ci,
108 double hessian_fd_step,
double max_move,
double force_tol,
109 const NEBBatchOracle* batch_oracle =
nullptr, Eigen::Index batch_chunk = 0);
128 std::numeric_limits<double>::quiet_NaN();
165 NEBOracle& oracle,
int max_measurements,
int* oracle_calls);
179 const Eigen::VectorXd& x0,
double e0,
const Eigen::VectorXd& g0,
180 double force_tol,
int max_steps,
double max_move,
double hessian_fd_step);
GP-accelerated NEB: AIE and OIE variants.
ActiveLearningSession: shared GP + training data across GP-NEB and GP-Dimer phases.
NEB path: chain of images between two endpoints.
The nudged elastic band: path, GP-NEB driver, configuration and result, acquisition,...
std::function< std::vector< std::pair< double, Eigen::VectorXd > >( const std::vector< Eigen::VectorXd > &positions)> NEBBatchOracle
SaddlePolishResult polishSaddleOnSurrogate(const NEBOracle &oracle, ActiveLearningSession &session, const Eigen::VectorXd &x0, double e0, const Eigen::VectorXd &g0, double force_tol, int max_steps, double max_move, double hessian_fd_step)
std::function< std::pair< double, Eigen::VectorXd >( const Eigen::VectorXd &positions)> NEBOracle
Oracle function: positions -> (energy, gradient).
BandMidpointCertificate certifyBandMidpoints(ActiveLearningSession &session, const NEBPath &path, double force_tol)
ClimbingImageIndexCertificate certifyClimbingImageIndex(const NEBOracle &oracle, ActiveLearningSession &session, const Eigen::VectorXd &x_ci, double e_ci, const Eigen::VectorXd &g_ci, double hessian_fd_step, double max_move, double force_tol, const NEBBatchOracle *batch_oracle, Eigen::Index batch_chunk)
BandMidpointCertificate certifyBandMidpointsMeasured(ActiveLearningSession &session, const NEBPath &path, double force_tol, NEBOracle &oracle, int max_measurements, int *oracle_calls)
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Eigen::VectorXd measured_position
double worst_variance
posterior variance there
double raw_excess
the same segment's chord midpoint, unrelaxed
int measurements
oracle rows bought by the measured variant
std::vector< double > segment_raw_excess
std::vector< Eigen::VectorXd > segment_position
std::vector< double > segment_variance
int worst_segment
segment with the highest energy upper bound
std::vector< double > segment_excess
Eigen::VectorXd worst_position
the relaxed midpoint of worst_segment
double excess
mean E_mid - E_ci for that segment (eV)
Eigen::VectorXd displaced_positions
double escapeEnergyCeiling(double refused_energy) const noexcept
Eigen::Index local_spectrum_samples
Samples owned by this process in the reported spectrum calculation.
bool certified
both required curvature signs are resolved
double polish_force_target
bool evaluated
the surrogate Hessian was available
bool verified
the complete non-rigid subspace was evaluated
double positive_complement_lower_bound
The second curvature less its resolution when it is resolved positive.
int rounds
Hessian-vector products taken.
std::string reason
why evaluation or sign resolution failed
Outcome of a saddle polish (see polishSaddleOnSurrogate).
bool converged
final_max_atom_force <= force_tol
double initial_max_atom_force
Eigen::VectorXd positions
double final_max_atom_force
Eigen::VectorXd gradient
true gradient at positions
double energy
true energy at positions
double quadratic_correction
int oracle_calls
true-PES evaluations spent
int steps
accepted Newton steps