dune-istl  2.8.0
istlexception.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_ISTL_ISTLEXCEPTION_HH
4 #define DUNE_ISTL_ISTLEXCEPTION_HH
5 
6 #include <dune/common/exceptions.hh>
7 #include <dune/common/fmatrix.hh>
8 
9 namespace Dune {
10 
17  class ISTLError : public Dune::MathError {};
18 
21  : public ISTLError
22  {};
23 
34  : public BCRSMatrixError
35  {};
36 
43  using ImplicitModeOverflowExhausted [[deprecated("Use ImplicitModeCompressionBufferExhausted instead!")]]
45 
47 
53  class SolverAbort : public ISTLError {};
54 
56 
59  class MatrixBlockError : public virtual Dune::FMatrixError {
60  public:
61  int r, c; // row and column index of the entry from which the error resulted
62  };
63 
66 } // end namespace
67 
68 #endif
Definition: allocator.hh:9
derive error class from the base class in common
Definition: istlexception.hh:17
Error specific to BCRSMatrix.
Definition: istlexception.hh:22
Thrown when the compression buffer used by the implicit BCRSMatrix construction is exhausted.
Definition: istlexception.hh:35
Thrown when a solver aborts due to some problem.
Definition: istlexception.hh:53
Error when performing an operation on a matrix block.
Definition: istlexception.hh:59
int c
Definition: istlexception.hh:61
int r
Definition: istlexception.hh:61