GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
AtomicDimerExitStatus.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
5
#ifndef GPR_ATOMICDIMEREXITSTATUS_H_
6
#define GPR_ATOMICDIMEREXITSTATUS_H_
7
8
#include <cstdlib>
9
10
#include "
AtomicDimer.h
"
11
12
namespace
atmd
{
13
14
inline
int
convergenceExitCode
(
const
AtomicDimer
&
dimer
)
noexcept
15
{
16
return
dimer
.getConverged() ? EXIT_SUCCESS : EXIT_FAILURE;
17
}
18
19
}
// namespace atmd
20
21
#endif
// GPR_ATOMICDIMEREXITSTATUS_H_
AtomicDimer.h
atmd::AtomicDimer
Atomic dimer.
Definition
AtomicDimer.h:656
atmd
The atomic dimer search (class AtomicDimer) and its status types.
Definition
AtomicDimer.cpp:99
atmd::convergenceExitCode
int convergenceExitCode(const AtomicDimer &dimer) noexcept
Definition
AtomicDimerExitStatus.h:14
dimer
Definition
Dimer.cpp:27
gpr
AtomicDimerExitStatus.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf