3 #ifndef DUNE_PRECISION_HH
4 #define DUNE_PRECISION_HH
22 template <
class ctype =
double>
46 _singular = singthres;
63 static ctype _pivoting;
64 static ctype _singular;
65 static ctype _absolute;
68 template <
class ctype>
69 ctype FMatrixPrecision<ctype>::_pivoting = 1E-8;
70 template <
class ctype>
71 ctype FMatrixPrecision<ctype>::_singular = 1E-14;
72 template <
class ctype>
73 ctype FMatrixPrecision<ctype>::_absolute = 1E-80;
static ctype absolute_limit()
return threshold to declare matrix singular
Definition: precision.hh:50
static ctype pivoting_limit()
return threshold to do pivoting
Definition: precision.hh:26
static ctype singular_limit()
return threshold to declare matrix singular
Definition: precision.hh:38
static void set_absolute_limit(ctype absthres)
set singular threshold
Definition: precision.hh:56
static void set_pivoting_limit(ctype pivthres)
set pivoting threshold
Definition: precision.hh:32
static void set_singular_limit(ctype singthres)
set singular threshold
Definition: precision.hh:44
Precisions for calculations with FieldMatrix and FieldVector.
Definition: precision.hh:23