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

Analytical test potentials for benchmarking GP-accelerated methods. More...

#include <cmath>
#include <limits>
#include <utility>
#include <vector>
#include "rgpot/Models/ModelCapi.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::potentials
 Analytical test potentials and potentials built from a fitted GP.

Functions

std::pair< double, std::vector< double > > gpr::potentials::lj_energy_gradient (const std::vector< double > &x, double epsilon=1.0, double sigma=1.0)
 Lennard-Jones energy and gradient for N atoms in 3D.
std::pair< double, std::vector< double > > gpr::potentials::muller_brown_energy_gradient (const std::vector< double > &xy)
 Muller-Brown 2D potential.
std::pair< double, std::vector< double > > gpr::potentials::leps_energy_gradient (const std::vector< double > &r)
 LEPS (London-Eyring-Polanyi-Sato) potential for collinear A+BC.

Variables

constexpr double gpr::potentials::MULLER_BROWN_MINIMA [3][2]
constexpr double gpr::potentials::MULLER_BROWN_SADDLES [2][2]
constexpr double gpr::potentials::LEPS_REACTANT [2] = {0.742, 4.0}
constexpr double gpr::potentials::LEPS_PRODUCT [2] = {4.0, 0.742}
constexpr double gpr::potentials::LEPS_SADDLE [2] = {0.929, 0.929}

Detailed Description

Analytical test potentials for benchmarking GP-accelerated methods.

LJ (Lennard-Jones) and LEPS (collinear A+BC reaction) potentials with exact energy and gradient, ported from ChemGP potentials.rs, and the Muller-Brown surface from rgpot's built-in models. rgpot's Lennard-Jones is shifted at a cutoff and its LEPS presets are fitted to H + H2, H + Cl2 and F + H2, so neither is the model here. This header is not installed.

Definition in file AnalyticalPotentials.h.