16 #ifndef dealii__lapack_support_h
17 #define dealii__lapack_support_h
20 #include <deal.II/base/config.h>
21 #include <deal.II/base/exceptions.h>
23 DEAL_II_NAMESPACE_OPEN
26 namespace LAPACKSupport
59 inline const char *state_name(State s)
66 return "inverse matrix";
68 return "lu decomposition";
105 static const char A =
'A';
109 static const char N =
'N';
113 static const char T =
'T';
117 static const char U =
'U';
121 static const char V =
'V';
125 static const int zero = 0;
129 static const int one = 1;
135 <<
"The function " << arg1 <<
" returned with an error code " << arg2);
143 <<
"The function cannot be called while the matrix is in state "
144 << state_name(arg1));
151 <<
"When you ran 'cmake' during installation of deal.II, "
152 <<
"no suitable installation of the BLAS or LAPACK library could "
153 <<
"be found. Consequently, the function <"
155 <<
"> can not be called. Refer to the doc/readme.html "
156 <<
"file for information on how to ensure that deal.II "
157 <<
"picks up an existing BLAS and LAPACK installation at "
158 <<
"configuration time.");
162 DEAL_II_NAMESPACE_CLOSE
#define DeclException2(Exception2, type1, type2, outsequence)
static::ExceptionBase & ExcState(State arg1)
#define DeclException1(Exception1, type1, outsequence)
static::ExceptionBase & ExcErrorCode(char *arg1, int arg2)
static::ExceptionBase & ExcMissing(char *arg1)