00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ITL_EXCEPTION_INCLUDE
00013 #define ITL_EXCEPTION_INCLUDE
00014
00015 #include <boost/numeric/mtl/utility/exception.hpp>
00016
00017 namespace itl {
00018
00020
00021 struct search_space_exhaustion
00022 : mtl::runtime_error
00023 {
00025 explicit search_space_exhaustion(const char *s= "Iterative solvers that exhausted the search space, i.e. search direction(s) parallel to already visited Krylov subspace")
00026 : mtl::runtime_error(s) {}
00027 };
00028
00030 struct unexpected_orthogonality : search_space_exhaustion {};
00031
00032 }
00033
00034 #endif // ITL_EXCEPTION_INCLUDE