dune-istl  2.7.1
About: dune-istl - DUNE (Distributed and Unified Numerics Environment) is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods: DUNE Iterative Solver Template Library.
  Fossies Dox: dune-istl-2.7.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

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 
8 namespace Dune {
9 
10  /**
11  @addtogroup ISTL
12  @{
13  */
14 
15  //! derive error class from the base class in common
16  class ISTLError : public Dune::MathError {};
17 
18  //! Error specific to BCRSMatrix.
20  : public ISTLError
21  {};
22 
23  //! The overflow error used during implicit BCRSMatrix construction was exhausted.
24  /**
25  * This error occurs if the overflow area of the BCRSMatrix
26  * did not have room for another non-zero entry during implicit
27  * mode construction.
28  *
29  * You can fix this problem by either increasing the average row size
30  * or the overflow fraction.
31  */
33  : public BCRSMatrixError
34  {};
35 
36  //! Thrown when a solver aborts due to some problem.
37  /**
38  * Problems that may cause the solver to abort include a NaN detected during
39  * the convergence check (which may be caused by invalid input data), or
40  * breakdown conditions (which can happen e.g. in BiCGSTABSolver or
41  * RestartedGMResSolver).
42  */
43  class SolverAbort : public ISTLError {};
44 
45  /** @} end documentation */
46 
47 } // end namespace
48 
49 #endif
Error specific to BCRSMatrix.
derive error class from the base class in common
The overflow error used during implicit BCRSMatrix construction was exhausted.
Thrown when a solver aborts due to some problem.
Definition: allocator.hh:7