Loading...
Searching...
No Matches
SeedKernel.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) gpridge developers
3#pragma once
4
5#include <iosfwd>
6#include <string>
7
8namespace gpr {
11struct InputParameters;
12
13namespace io {
14
16[[nodiscard]] std::string seedKernelAtomsIdentity(
17 const AtomsConfiguration& atoms);
18[[nodiscard]] std::string seedKernelIdentity(
19 const GaussianProcessRegression& gp, const AtomsConfiguration& atoms);
20
22bool readSeedKernelAtomTypes(std::istream& input, AtomsConfiguration& atoms,
23 const InputParameters& parameters);
24
26void writeSeedKernel(std::ostream& out, const GaussianProcessRegression& gp,
27 const AtomsConfiguration& atoms);
28
30bool readSeedKernel(std::istream& input, GaussianProcessRegression& gp,
31 const AtomsConfiguration& atoms, bool require_identity,
32 bool preserve_source_noise = false);
33
34} // namespace io
35} // namespace gpr
eon_relax_band_t eon_relax_surface_fn void eon_relax_outcome_t * out
bool readSeedKernel(std::istream &input, GaussianProcessRegression &gp, const AtomsConfiguration &atoms, bool require_identity, bool preserve_source_noise)
Validate the complete seed before changing any model parameter.
void writeSeedKernel(std::ostream &out, const GaussianProcessRegression &gp, const AtomsConfiguration &atoms)
Write fitted covariance parameters, output units, and descriptor identity.
bool readSeedKernelAtomTypes(std::istream &input, AtomsConfiguration &atoms, const InputParameters &parameters)
Restore the archived type map after checking physical atom identity.
std::string seedKernelIdentity(const GaussianProcessRegression &gp, const AtomsConfiguration &atoms)
std::string seedKernelAtomsIdentity(const AtomsConfiguration &atoms)
Atomic descriptor identity; moving positions belong to the observations.
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition Macros.h:16
Stores configurations of all atoms in the system.
Definition Structures.h:832
Structure of the input parameters. All input parameters are pairs of string names and values.
Definition Structures.h:370