OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
Classic
Utilities
ConvergenceError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_ConvergenceError_HH
2
#define CLASSIC_ConvergenceError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: ConvergenceError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: ConvergenceError
13
//
14
// ------------------------------------------------------------------------
15
// Class category: Utilities
16
// ------------------------------------------------------------------------
17
//
18
// $Date: 2000/03/27 09:32:37 $
19
// $Author: fci $
20
//
21
// ------------------------------------------------------------------------
22
23
#include "
Utilities/ArithmeticError.h
"
24
25
#include <string>
26
27
// Class ConvergenceError
28
// ------------------------------------------------------------------------
30
// This exception is thrown, when an iterative algorithm fails to converge.
31
32
class
ConvergenceError
:
public
ArithmeticError
{
33
34
public
:
35
37
// Arguments:
38
// [DL]
39
// [DT][b]meth[/b]
40
// [DD]the name of the method or function detecting the exception
41
// [DT][b]msg [/b]
42
// [DD]the message string identifying the exception
43
// [/DL]
44
ConvergenceError
(
const
std::string &
method
,
const
std::string &
message
);
45
46
ConvergenceError
(
const
ConvergenceError
&);
47
virtual
~ConvergenceError
();
48
49
private
:
50
51
// Not implemented.
52
ConvergenceError
();
53
};
54
55
#endif
// CLASSIC_ConvergenceError_HH
ArithmeticError.h
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
ClassicException::method
const std::string method
Definition:
ClassicException.h:61
ClassicException::message
const std::string message
Definition:
ClassicException.h:60
ConvergenceError
Convergence error exception.
Definition:
ConvergenceError.h:32
ConvergenceError::~ConvergenceError
virtual ~ConvergenceError()
Definition:
ConvergenceError.cpp:38
ConvergenceError::ConvergenceError
ConvergenceError()
Generated on Wed Aug 25 2021 16:41:03 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1