GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
neb_request.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
//
5
// The lifetime of the per-thread SIDPP request that gpr_neb_request_sidpp
6
// sets. This is internal to the library and its bindings. It is not part of
7
// the C ABI and is not installed.
8
9
#ifndef GPR_CAPI_NEB_REQUEST_HPP
10
#define GPR_CAPI_NEB_REQUEST_HPP
11
12
namespace
gpr
{
13
namespace
capi
{
14
namespace
detail {
15
18
void
clear_sidpp_request() noexcept;
19
22
void
clear_vibrational_stencil_request() noexcept;
23
29
class NebRequestScope {
30
public
:
31
NebRequestScope() =
default
;
32
NebRequestScope(
const
NebRequestScope&) =
delete
;
33
NebRequestScope& operator=(
const
NebRequestScope&) =
delete
;
34
~NebRequestScope()
35
{
36
clear_sidpp_request();
37
clear_vibrational_stencil_request();
38
}
39
};
40
41
}
// namespace detail
42
}
// namespace capi
43
}
// namespace gpr
44
45
#endif
gpr::capi
Definition
gpridge.hpp:26
gpr
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition
Macros.h:16
gpr
capi
neb_request.hpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf