GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
ProbeExecutor.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
37
38
#ifndef GPR_LINALG_PROBE_EXECUTOR_H_
39
#define GPR_LINALG_PROBE_EXECUTOR_H_
40
41
#include <Eigen/Core>
42
#include <functional>
43
44
#include "
KernelInverse.h
"
45
#include "
MpiContext.h
"
46
47
namespace
gpr
{
48
namespace
linalg
{
49
50
class
ProbeExecutor
{
51
public
:
52
ProbeExecutor
() =
default
;
53
81
[[nodiscard]] Eigen::VectorXd
run
(
82
int
n_probes,
const
std::function<
double
(
int
)>& probe_fn,
83
KernelInverse::Kind
kind,
const
MpiContext
& ctx)
const
;
84
};
85
86
}
// namespace linalg
87
}
// namespace gpr
88
89
#endif
// GPR_LINALG_PROBE_EXECUTOR_H_
KernelInverse.h
Abstract operator interface for K^{-1} actions used by Laplace Hessian probe loops and Williams-Rasmu...
MpiContext.h
Tiny value type describing the MPI dispatch context for a probe loop.
gpr::linalg::KernelInverse::Kind
Kind
Definition
KernelInverse.h:44
gpr::linalg::ProbeExecutor::run
Eigen::VectorXd run(int n_probes, const std::function< double(int)> &probe_fn, KernelInverse::Kind kind, const MpiContext &ctx) const
Definition
ProbeExecutor.cpp:46
gpr::linalg::ProbeExecutor::ProbeExecutor
ProbeExecutor()=default
gpr::linalg
Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators,...
Definition
ConditionedKernel.h:14
gpr
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition
Macros.h:16
gpr::linalg::MpiContext
Definition
MpiContext.h:59
gpr
linalg
ProbeExecutor.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf