Loading...
Searching...
No Matches
GPNEB.h File Reference

GP-accelerated NEB: AIE and OIE variants. More...

#include <Eigen/Dense>
#include <algorithm>
#include <array>
#include <atomic>
#include <cmath>
#include <cstdint>
#include <deque>
#include <functional>
#include <iostream>
#include <limits>
#include <memory>
#include <optional>
#include <random>
#include <stdexcept>
#include <string>
#include <vector>
#include "AcquisitionStrategy.h"
#include "BandTrace.h"
#include "NEBPath.h"
#include "OuterIterCompositionTrace.h"
#include "Session.h"
#include "gpr/Enums.h"
#include "gpr/PublicLayout.h"
#include "gpr/auxiliary/ElementPairContactFloor.h"
#include "gpr/auxiliary/InternalCoordinates.h"
#include "gpr/linalg/LinalgThreads.h"
#include "gpr/ml/PhaseTimers.h"
#include "gpr/optimization/HarmonicPrefactor.h"
#include "gpr/optimization/SketchedHessianH0.h"
#include "gpr/optimization/StencilIndex.h"
#include "gpr/optimization/VibrationalStencil.h"
#include "structures/Structures.h"

Go to the source code of this file.

Classes

struct  gpr::neb::NEBOracleEvaluationContext
struct  gpr::neb::NEBOracleOptimizationOutcome
class  gpr::neb::OracleForceProgressTracker
struct  gpr::neb::NEBOracleSessionCheckpoint
class  gpr::neb::AdaptiveSo3Policy
class  gpr::neb::AdaptiveSo3SessionPolicy
 Run-scoped adaptive SO(3) state. More...
struct  gpr::neb::OracleSessionRestartRequested
struct  gpr::neb::OieFixedImageLease
struct  gpr::neb::GPNEBConfig
 Configuration for GP-NEB. More...
struct  gpr::neb::PosteriorFactorizationCounts
class  gpr::neb::PosteriorFactorizationScope
struct  gpr::neb::GPNEBResult

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::neb
 The nudged elastic band: path, GP-NEB driver, configuration and result, acquisition, IDPP start.

Typedefs

using gpr::neb::NEBOracle
 Oracle function: positions -> (energy, gradient).
using gpr::neb::NEBBatchOracle
using gpr::neb::ObservationVarianceEstimator
 Posterior variance estimator for one joint oracle observation.

Enumerations

enum class  gpr::neb::NEBMode {
  gpr::neb::Standard , gpr::neb::AIE , gpr::neb::OIE , gpr::neb::GP_AIE ,
  gpr::neb::GP_OIE , gpr::neb::GP_LOCAL
}
 NEB evaluation mode. More...
enum class  gpr::neb::AdaptiveSo3EvaluationMode { gpr::neb::Raw , gpr::neb::ScatterProbe , gpr::neb::Averaged }
enum class  gpr::neb::GPNEBConvergenceStatus { gpr::neb::NotConverged = 0 , gpr::neb::ForceTolerance = 1 , gpr::neb::ModelNoiseFloor = 2 }
enum class  gpr::neb::GPNEBStopReason { gpr::neb::Unspecified , gpr::neb::Converged , gpr::neb::IterationBudget , gpr::neb::WallClockLimit }
 Result of GP-NEB optimization. More...

Functions

bool gpr::neb::oracleContextRequestsAdaptiveSo3 (const NEBOracleEvaluationContext &context)
double gpr::neb::forceComponentRmsForNorm (double component_rms, Eigen::Index degrees_of_freedom, ConvergenceNormType norm) noexcept
void gpr::neb::applyConfigToGP (const GPNEBConfig &config, gpr::GaussianProcessRegression &gp)
GPNEBResult gpr::neb::gpNEB (NEBOracle oracle, const Eigen::VectorXd &initial, const Eigen::VectorXd &final_state, int n_images, const GPNEBConfig &config={}, ActiveLearningSession *session=nullptr)
 Run GP-accelerated NEB.

Variables

constexpr int gpr::neb::kMaxConsecutiveOracleFailures = 8

Detailed Description

GP-accelerated NEB: AIE and OIE variants.

Orchestrates the surrogate loop for NEB path optimization:

  1. Evaluate images with oracle (all for AIE, selected for OIE)
  2. Train GP on accumulated observations
  3. Relax images on GP surface
  4. Repeat until convergence

Standard / AIE / OIE branches plus a GP-accelerated OIE branch with global L-BFGS inner relaxation, posterior-variance acquisition, and an oracle-eval per outer iter (Garrido Torres / Koistinen style).

See also
NEBPath, AcquisitionStrategy, GaussianProcessRegression

Definition in file GPNEB.h.