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

Adapter: ~NEBOracle~ lambda -> ~pot::PotentialWrapper~. More...

#include <Eigen/Dense>
#include "GPNEB.h"
#include "gpr/potentials/PotentialWrapper.h"

Go to the source code of this file.

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.

Functions

pot::PotentialWrapper gpr::neb::makePotentialWrapperFromOracle (NEBOracle oracle)

Detailed Description

Adapter: ~NEBOracle~ lambda -> ~pot::PotentialWrapper~.

The dimer code (~AtomicDimer~) expects a ~pot::PotentialWrapper~ with the legacy ~force(N, R, atomicNrs, F, U, variance, box)~ signature. The NEB code uses a simpler ~NEBOracle~ lambda that maps flat positions to (energy, gradient). This adapter bridges the two so a single ~NEBOracle~ can drive both the NEB and a subsequent dimer refinement in the OCINEB controller.

Sign convention: NEBOracle returns the gradient ~dE/dR~ while ~PotentialWrapper~ writes the force ~-dE/dR~ into ~F~. The adapter does the negation.

See also
OCINEBController, PotentialWrapper, NEBOracle

Definition in file NEBOraclePotential.h.