dune-istl  2.11
istlexception.hh
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2 // SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 // vi: set et ts=4 sw=2 sts=2:
5 #ifndef DUNE_ISTL_ISTLEXCEPTION_HH
6 #define DUNE_ISTL_ISTLEXCEPTION_HH
7 
8 #include <dune/common/exceptions.hh>
9 #include <dune/common/fmatrix.hh>
10 
11 namespace Dune {
12 
18  class ISTLError : public Dune::MathError {};
20 
23  : public ISTLError
24  {};
25 
36  : public BCRSMatrixError
37  {};
38 
40 
46  class SolverAbort : public ISTLError {};
47 
49 
52  class MatrixBlockError : public virtual Dune::FMatrixError {
53  public:
54  int r, c; // row and column index of the entry from which the error resulted
55  };
56 
59 } // end namespace
60 
61 #endif
int r
Definition: istlexception.hh:54
derive error class from the base class in common
Definition: istlexception.hh:19
Thrown when the compression buffer used by the implicit BCRSMatrix construction is exhausted...
Definition: istlexception.hh:35
Error when performing an operation on a matrix block.
Definition: istlexception.hh:52
Error specific to BCRSMatrix.
Definition: istlexception.hh:22
int c
Definition: istlexception.hh:54
Definition: allocator.hh:11
Thrown when a solver aborts due to some problem.
Definition: istlexception.hh:46