DUNE-FEM (unstable)

istlexception.hh
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
10
11namespace Dune {
12
19 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
Error specific to BCRSMatrix.
Definition: istlexception.hh:24
Error thrown if operations of a FieldMatrix fail.
Definition: densematrix.hh:126
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:37
Default exception class for mathematical errors.
Definition: exceptions.hh:241
Error when performing an operation on a matrix block.
Definition: istlexception.hh:52
Thrown when a solver aborts due to some problem.
Definition: istlexception.hh:46
A few common exception classes.
Implements a matrix constructed from a given type representing a field and compile-time given number ...
Dune namespace.
Definition: alignedallocator.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)