Skip to content
Snippets Groups Projects
Commit 87022110 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

[doc] Update doxygen documentation with regard to `SolverAbort`.

Document that `BiCGSTABSolver` and `RestartedGMResSolver` can throw
`SolverAbort` when they detect a breakdown.
parent 5b5ab9a7
Branches
Tags
1 merge request!36Abort CGSolver when the defect is invalid
......@@ -36,7 +36,9 @@ namespace Dune {
//! Thrown when a solver aborts due to some problem.
/**
* Problems that may cause the solver to abort include a NaN detected during
* the convergence check (which may be caused by invalid input data).
* the convergence check (which may be caused by invalid input data), or
* breakdown conditions (which can happen e.g. in BiCGSTABSolver or
* RestartedGMResSolver).
*/
class SolverAbort : public ISTLError {};
......
......@@ -617,6 +617,8 @@ namespace Dune {
\brief Apply inverse operator.
\copydoc InverseOperator::apply(X&,Y&,InverseOperatorResult&)
\note Currently, the BiCGSTABSolver aborts when it detects a breakdown.
*/
virtual void apply (X& x, X& b, InverseOperatorResult& res)
{
......@@ -819,6 +821,8 @@ namespace Dune {
\brief Apply inverse operator with given reduction factor.
\copydoc InverseOperator::apply(X&,Y&,double,InverseOperatorResult&)
\note Currently, the BiCGSTABSolver aborts when it detects a breakdown.
*/
virtual void apply (X& x, X& b, double reduction, InverseOperatorResult& res)
{
......@@ -1225,7 +1229,14 @@ namespace Dune {
"P and S must have the same category!");
}
//! \copydoc InverseOperator::apply(X&,Y&,InverseOperatorResult&)
/*!
\brief Apply inverse operator.
\copydoc InverseOperator::apply(X&,Y&,InverseOperatorResult&)
\note Currently, the RestartedGMResSolver aborts when it detects a
breakdown.
*/
virtual void apply (X& x, Y& b, InverseOperatorResult& res)
{
apply(x,b,_reduction,res);
......@@ -1235,6 +1246,9 @@ namespace Dune {
\brief Apply inverse operator.
\copydoc InverseOperator::apply(X&,Y&,double,InverseOperatorResult&)
\note Currently, the RestartedGMResSolver aborts when it detects a
breakdown.
*/
virtual void apply (X& x, Y& b, double reduction, InverseOperatorResult& res)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment