relaxation_parameter.hpp 405 Bytes
Newer Older
1
2
/*
 * Marcel Schiffel, 13.10.11
3
 *
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 * definition of default relaxation parameter for iterative solvers
 */


#ifndef MTL_ITL_RELAXATION_PARAMETER_HPP
#define MTL_ITL_RELAXATION_PARAMETER_HPP


namespace itl {


/**
 * default relaxation parameter for iterative solvers
 */
struct default_omega
{
    static const double value;
};

const double default_omega::value= 2./3.;

} /* namespace itl */

#endif