eOn 3.2.0
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
eonExceptions.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdexcept>
4
5
namespace
eonc
{
6
7
class
DimerModeLostException
:
public
std::runtime_error {
8
public
:
9
DimerModeLostException
() : std::runtime_error(
"Dimer lost mode alignment"
) {}
10
};
11
12
class
DimerModeRestoredException
:
public
std::exception {
13
public
:
14
const
char
*
what
() const noexcept
override
{
15
return
"Dimer lost mode but restored to best negative curvature state"
;
16
}
17
};
18
19
}
// namespace eonc
eonc::DimerModeLostException::DimerModeLostException
DimerModeLostException()
Definition
eonExceptions.hpp:9
eonc::DimerModeRestoredException
Definition
eonExceptions.hpp:12
eonc::DimerModeRestoredException::what
const char * what() const noexcept override
Definition
eonExceptions.hpp:14
eonc
RAII resource manager for the ARTn C library with global synchronization.
Definition
ARTnSaddleSearch.cpp:23
include
eon
eonExceptions.hpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf