Loading...
Searching...
No Matches
istlexception.hh
Go to the documentation of this file.
// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_ISTL_ISTLEXCEPTION_HH
#define DUNE_ISTL_ISTLEXCEPTION_HH
#include <dune/common/exceptions.hh>
#include <dune/common/fmatrix.hh>
namespace Dune {
class ISTLError : public Dune::MathError {};
class BCRSMatrixError
: public ISTLError
{};
class ImplicitModeCompressionBufferExhausted
: public BCRSMatrixError
{};
class SolverAbort : public ISTLError {};
class MatrixBlockError : public virtual Dune::FMatrixError {
public:
int r, c; // row and column index of the entry from which the error resulted
};
} // end namespace
#endif
Dune
Definition allocator.hh:11
Dune::ISTLError
derive error class from the base class in common
Definition istlexception.hh:19
Dune::BCRSMatrixError
Error specific to BCRSMatrix.
Definition istlexception.hh:24
Dune::ImplicitModeCompressionBufferExhausted
Thrown when the compression buffer used by the implicit BCRSMatrix construction is exhausted.
Definition istlexception.hh:37
Dune::SolverAbort
Thrown when a solver aborts due to some problem.
Definition istlexception.hh:46
Dune::MatrixBlockError
Error when performing an operation on a matrix block.
Definition istlexception.hh:52
Dune::MatrixBlockError::c
int c
Definition istlexception.hh:54
Dune::MatrixBlockError::r
int r
Definition istlexception.hh:54