|
| enum class | Status : int {
Success = GPR_SUCCESS
, NullHandle = GPR_ERR_NULL_HANDLE
, InvalidArg = GPR_ERR_INVALID_ARG
, NotTrained = GPR_ERR_NOT_TRAINED
,
Alloc = GPR_ERR_ALLOC
, Cholesky = GPR_ERR_CHOLESKY
, Optimizer = GPR_ERR_OPTIMIZER
, NotConverged = GPR_ERR_NOT_CONVERGED
,
SizeLimit = GPR_ERR_SIZE_LIMIT
, Oracle = GPR_ERR_ORACLE
, Unsupported = GPR_ERR_UNSUPPORTED
, Abi = GPR_ERR_ABI
,
Internal = GPR_ERR_INTERNAL
, OutOfSupport = GPR_ERR_OUT_OF_SUPPORT
, UnitMismatch = GPR_ERR_UNIT_MISMATCH
} |
| enum class | OptimAlg : int { Scg = GPR_OPT_SCG
, Factorized = GPR_OPT_FACTORIZED
} |
| enum class | HssvdBackend : int { Default = GPR_HSSVD_BACKEND_DEFAULT
, Hssvd = GPR_HSSVD_BACKEND_HSSVD
, Cholesky = GPR_HSSVD_BACKEND_CHOLESKY
} |
| enum class | NebMode : int {
Standard = GPR_NEB_STANDARD
, Aie = GPR_NEB_AIE
, Oie = GPR_NEB_OIE
, GpAie = GPR_NEB_GP_AIE
,
GpOie = GPR_NEB_GP_OIE
, GpLocal = GPR_NEB_GP_LOCAL
} |
| enum class | Acquisition : int {
MaxVariance = GPR_ACQ_MAX_VARIANCE
, MaxForce = GPR_ACQ_MAX_FORCE
, Ucb = GPR_ACQ_UCB
, Thompson = GPR_ACQ_THOMPSON
,
Imspe = GPR_ACQ_IMSPE
, Ei = GPR_ACQ_EI
, PriorityCascade = GPR_ACQ_PRIORITY_CASCADE
, Tpe = GPR_ACQ_TPE
,
Psbax = GPR_ACQ_PSBAX
} |
| enum class | ConvNorm : int { L2 = GPR_NORM_L2
, Linf = GPR_NORM_LINF
, MaxAtom = GPR_NORM_MAX_ATOM
} |
| enum class | DistanceMetric : int { Max1dLog = GPR_DIST_MAX_1D_LOG
, Rmsd = GPR_DIST_RMSD
, Emd = GPR_DIST_EMD
} |
| enum class | ModelType : int { Gp = GPR_MODEL_GP
, Tp = GPR_MODEL_TP
} |
| enum class | BqKernel : int {
SquaredExponential = GPR_BQ_KERNEL_SE
, Matern32Product = GPR_BQ_KERNEL_MATERN32_PRODUCT
, Matern52Product = GPR_BQ_KERNEL_MATERN52_PRODUCT
, Matern32Isotropic = GPR_BQ_KERNEL_MATERN32_ISOTROPIC
,
Matern52Isotropic = GPR_BQ_KERNEL_MATERN52_ISOTROPIC
} |
| enum class | BqHyperMode : int {
Fixed = GPR_BQ_HYPER_FIXED
, Ml = GPR_BQ_HYPER_ML
, Map = GPR_BQ_HYPER_MAP
, TpMarginal = GPR_BQ_HYPER_TP_MARGINAL
,
Marginalized = GPR_BQ_HYPER_MARGINALIZED
} |
| enum class | BqMeasure : int { LebesgueBox = GPR_BQ_MEASURE_LEBESGUE_BOX
, UniformBox = GPR_BQ_MEASURE_UNIFORM_BOX
, Gaussian = GPR_BQ_MEASURE_GAUSSIAN
} |
| enum class | BqBasis : int { FollowConfig = GPR_BQ_BASIS_FOLLOW_CONFIG
, None = GPR_BQ_BASIS_NONE
, Constant = GPR_BQ_BASIS_CONSTANT
, Affine = GPR_BQ_BASIS_AFFINE
} |
| enum class | PsearchAxis : int { Linear = GPR_PSEARCH_AXIS_LINEAR
, Log = GPR_PSEARCH_AXIS_LOG
, Integer = GPR_PSEARCH_AXIS_INTEGER
} |
| enum class | UncertaintyMode : int {
Map = GPR_UQ_MAP
, Bma = GPR_UQ_BMA
, Laplace = GPR_UQ_LAPLACE
, Eb = GPR_UQ_EB
,
Svgd = GPR_UQ_SVGD
, LaplaceSlice = GPR_UQ_LAPLACE_SLICE
} |
| enum class | HyperparameterMode : int { Scg = GPR_HOPT_SCG
, Inla = GPR_HOPT_INLA
} |
| enum class | HyperparameterObjective : int { Nlml = GPR_HOBJ_NLML
, Loo = GPR_HOBJ_LOO
} |
| enum class | PeriodicBandInitial : int { Linear = GPR_PERIODIC_BAND_LINEAR
, Idpp = GPR_PERIODIC_BAND_IDPP
, Sidpp = GPR_PERIODIC_BAND_SIDPP
} |
| enum class | DimerStop : int {
Unspecified = GPR_DIMER_STOP_UNSPECIFIED
, ForceConverged = GPR_DIMER_STOP_FORCE_CONVERGED
, MeasuredNonDescent = GPR_DIMER_STOP_MEASURED_NON_DESCENT
, DegenerateProbe = GPR_DIMER_STOP_DEGENERATE_PROBE
,
UninformativeRotation = GPR_DIMER_STOP_UNINFORMATIVE_ROTATION
, AlignmentLoss = GPR_DIMER_STOP_ALIGNMENT_LOSS
, IterationBudget = GPR_DIMER_STOP_ITERATION_BUDGET
, InteratomicCollapse = GPR_DIMER_STOP_INTERATOMIC_COLLAPSE
,
InvalidAtoms = GPR_DIMER_STOP_INVALID_ATOMS
, OracleBudget = GPR_DIMER_STOP_ORACLE_BUDGET
, InvalidParameters = GPR_DIMER_STOP_INVALID_PARAMETERS
, MeasuredIndexZero = GPR_DIMER_STOP_MEASURED_INDEX_ZERO
,
UncertifiedForceStop = GPR_DIMER_STOP_UNCERTIFIED_FORCE_STOP
} |
| enum class | NebStatus : int { NotConverged = GPR_NEB_NOT_CONVERGED
, ForceTolerance = GPR_NEB_FORCE_TOLERANCE
, ModelNoiseFloor = GPR_NEB_MODEL_NOISE_FLOOR
} |
| enum class | EnergyUnit : int {
Native = GPR_ENERGY_UNIT_NATIVE
, Ev = GPR_ENERGY_UNIT_EV
, Hartree = GPR_ENERGY_UNIT_HARTREE
, KcalPerMol = GPR_ENERGY_UNIT_KCAL_PER_MOL
,
KjPerMol = GPR_ENERGY_UNIT_KJ_PER_MOL
} |
| enum class | LengthUnit : int { Native = GPR_LENGTH_UNIT_NATIVE
, Angstrom = GPR_LENGTH_UNIT_ANGSTROM
, Bohr = GPR_LENGTH_UNIT_BOHR
, Nanometer = GPR_LENGTH_UNIT_NANOMETER
} |
| enum class | HtstMode : int { Refined = GPR_HTST_REFINED
, Measured = GPR_HTST_MEASURED
, Surrogate = GPR_HTST_SURROGATE
} |
| enum class | HtstKind : int { Minimum = GPR_HTST_MINIMUM
, Saddle = GPR_HTST_SADDLE
} |
| enum class | HtstStatus : int { Ok = GPR_HTST_OK
, NotConverged = GPR_HTST_NOT_CONVERGED
, WrongIndex = GPR_HTST_WRONG_INDEX
, Unavailable = GPR_HTST_UNAVAILABLE
} |
| enum class | HtstSource : int {
Refined = GPR_HTST_SOURCE_REFINED
, Measured = GPR_HTST_SOURCE_MEASURED
, Stencil = GPR_HTST_SOURCE_STENCIL
, Surrogate = GPR_HTST_SOURCE_SURROGATE
,
Conditioned = GPR_HTST_SOURCE_CONDITIONED
} |
| enum class | HtstPoint : int { Reactant = GPR_HTST_REACTANT
, Transition = GPR_HTST_TRANSITION
, Product = GPR_HTST_PRODUCT
} |
|
| DerivativeOptions | derivative_options_defaults () |
| DerivativeReport | make_derivative_report () |
| HtstOptions | htst_options_defaults () |
| void | check (int status) |
| std::string | version () |
| std::tuple< int, int, int > | version_components () |
| std::pair< int, int > | abi_version () |
| void | check_abi (int major=1, int minor=26) |
| std::string | last_error () |
| std::string | last_error_message () |
| std::size_t | last_error_copy (char *buf, std::size_t capacity) |
| int | last_status () |
| const char * | status_name (int status) |
| AtomsConfig | atoms_config_defaults () |
| AtomsConfig | atoms_simple (int n_atoms) |
| ModelConfig | model_config_defaults () |
| BqConfig | bq_config_defaults () |
| DimerConfig | dimer_config_defaults () |
| NebConfig | neb_config_defaults () |
| LocalBandConfig | local_band_config_defaults () |
| PeriodicBandConfig | periodic_band_config_defaults () |
| MinimizeConfig | minimize_config_defaults () |
| OcinebConfig | ocineb_config_defaults () |
| DimerReport | make_dimer_report (int max_oracle_calls=0, double certificate_step=0.0) |
| NebReport | make_neb_report () |
| FesConfig | fes_config_defaults () |
| FesRateConfig | fes_rate_config_defaults () |
| std::vector< double > | fes_noise_from_weights (const std::vector< double > &weights, double reference_variance, double min_relative_weight) |
| NebPosteriorFactorizations | neb_posterior_factorizations (gpr_neb_t result) |
| void | dimer_search (gpr_force_fn force_fn, void *user_data, const Atoms &atoms, const double *R_init, const double *orient_init, const DimerConfig &config, const double *R_obs, const double *E_obs, const double *G_obs, int n_init_obs, double *R_saddle, double *E_saddle, double *orient_out=nullptr, double *curvature=nullptr, int *n_force_calls=nullptr, int *n_gp_calls=nullptr) |
| void | dimer_search_potential (const Potential &pot, const Atoms &atoms, const double *R_init, const double *orient_init, const DimerConfig &config, const double *R_obs, const double *E_obs, const double *G_obs, int n_init_obs, double *R_saddle, double *E_saddle, double *orient_out=nullptr, double *curvature=nullptr, int *n_force_calls=nullptr, int *n_gp_calls=nullptr) |
| void | dimer_search_report (const Potential &pot, const Atoms &atoms, const double *R_init, const double *orient_init, const DimerConfig &config, const double *R_obs, const double *E_obs, const double *G_obs, int n_init_obs, double *R_saddle, double *E_saddle, double *orient_out, DimerReport &report) |
| void | neb_request_index_certificate (bool enable, double step=0.0) |
| void | neb_request_sidpp (bool enable) |
| void | neb_request_vibrational_stencil (int mode) |
| void | minimize_request_max_inner_steps (int max_inner_steps) |
| NebResult | neb_search (gpr_oracle_fn oracle, void *user_data, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig &config) |
| NebResult | neb_search_potential (const Potential &pot, const int *atomic_nrs, const double *box, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig &config) |
| NebResult | neb_search_gp (gpr_oracle_fn oracle, void *user_data, const Atoms &atoms, const ModelConfig *model, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig &config) |
| NebResult | neb_search_gp_potential (const Potential &pot, const Atoms &atoms, const double *box, const ModelConfig *model, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig &config) |
| NebResult | neb_search_local (gpr_oracle_fn oracle, void *user_data, const Atoms *atoms, const double *box, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig *config=nullptr, const LocalBandConfig *local=nullptr) |
| NebResult | neb_search_local_potential (const Potential &pot, const int *atomic_nrs, const double *box, const Atoms *atoms, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig *config=nullptr, const LocalBandConfig *local=nullptr) |
| NebResult | neb_search_periodic (gpr_oracle_fn oracle, void *user_data, const Atoms *atoms, const double *box, const double *R_initial, const double *R_final, int n_coords, int n_images, const PeriodicBandConfig *periodic=nullptr, const LocalBandConfig *local=nullptr) |
| NebResult | neb_search_periodic_potential (const Potential &pot, const int *atomic_nrs, const double *box, const Atoms *atoms, const double *R_initial, const double *R_final, int n_coords, int n_images, const PeriodicBandConfig *periodic=nullptr, const LocalBandConfig *local=nullptr) |
| NebResult | ocineb_search (gpr_oracle_fn oracle, void *user_data, const Atoms &atoms, const ModelConfig *model, const double *R_initial, const double *R_final, int n_coords, int n_images, const NebConfig &config, const OcinebConfig *oci=nullptr) |
| void | minimize (gpr_oracle_fn oracle, void *user_data, const double *R_init, int n_coords, const Atoms &atoms, const MinimizeConfig &config, double *R_final, double *E_final, double *G_final, int *converged, int *n_oracle_calls) |
| HtstHalf | htst_half_from_hessian (const std::vector< double > &H, const std::vector< double > &x, HtstKind kind, const HtstOptions *options=nullptr, const std::vector< double > *masses=nullptr) |
| | The HTST half of a caller's row-major Hessian H at x.
|
| void | htst_half_from_hessian_unchecked (const HtstOptions *options, const double *masses, int n_masses, const double *H, const double *x, int n_coords, HtstKind kind, double *frequencies_out, HtstHalfInfo *half) |
| HtstHalf | htst_half (const Model *model, gpr_oracle_fn oracle, void *user_data, const std::vector< double > &x, HtstKind kind, const HtstOptions *options=nullptr, const std::vector< double > *masses=nullptr) |
| void | htst_half_unchecked (const Model *model, gpr_oracle_fn oracle, void *user_data, const HtstOptions *options, const double *masses, int n_masses, const double *x, int n_coords, HtstKind kind, double *frequencies_out, int *measured_out, HtstHalfInfo *half) |
| std::pair< double, double > | htst_ln_prefactor (const HtstHalfInfo &minimum, const HtstHalfInfo &saddle) |
| | ln nu and its spread from a minimum and a saddle half.
|
| void | request_prefactor (const HtstOptions *options=nullptr, const std::vector< double > *masses=nullptr) |
| HtstHalf | search_prefactor (HtstPoint point, int n_coords) |
| | A half of the last search on this thread.
|
| void | search_prefactor_unchecked (HtstPoint point, HtstHalfInfo *half, double *frequencies_out, int *measured_out, int n_coords) |
| std::pair< double, std::vector< double > > | potential_lj (const std::vector< double > &x, int n_atoms, double epsilon=1.0, double sigma=1.0) |
| std::pair< double, std::vector< double > > | potential_muller_brown (const std::vector< double > &xy) |
| std::pair< double, std::vector< double > > | potential_leps (const std::vector< double > &r) |
| void | oracle_lj (int n_coords, const double *positions, double *energy, double *gradient, void *user_data) |
| void | oracle_muller_brown (int n_coords, const double *positions, double *energy, double *gradient, void *user_data) |
| void | oracle_leps (int n_coords, const double *positions, double *energy, double *gradient, void *user_data) |
| std::string | backend_name () |
| bool | backend_requires_mpi () |
| bool | mpi_initialized () |
| int | mpi_world_rank () |
| int | mpi_world_size () |
| int | omp_max_threads () |
| void | set_linalg_mode (const std::string &mode) |
| std::string | linalg_mode () |
| void | set_linalg_threads (int threads) |
| void | set_library_serial (bool enabled) |
| void | set_training_product (const std::string &spec) |
| bool | training_product_configured () |
| void | check_model_package (const std::string &path) |
| void | train_phase_reset () |
| void | train_phase_read (double *factor_s, double *solve_s, double *eigen_s, double *kernel_s, double *hessian_s) |
| void | train_phase_read_leaves (double *setup_s, double *descriptor_s, double *posterior_s, double *subset_s, double *objective_s, double *condition_s, double *cache_s, double *curvature_s, double *energy_s, double *schedule_s) |
| gpr_neb_t | searchLocalWithState (gpr_oracle_fn oracle, void *user_data, gpr_atoms_t atoms, const double *box, const double *R_initial, const double *R_final, int n_coords, int n_images, const gpr_neb_config_t *config, const gpr_local_band_config_t *local, const io::TrainedGpState *seed) |
| gpr_neb_t | searchPeriodicWithState (gpr_oracle_fn oracle, void *user_data, gpr_atoms_t atoms, const double *box, const double *R_initial, const double *R_final, int n_coords, int n_images, const gpr_periodic_band_config_t *periodic, const gpr_local_band_config_t *local, const io::TrainedGpState *seed) |