Adapter: ~NEBOracle~ lambda -> ~pot::PotentialWrapper~. More...
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) |
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.
Definition in file NEBOraclePotential.h.