![]() |
KASKADE 7 development version
|
An inexact Uzawa type solver for solving symmetric saddle point systems. More...
#include <uzawa-old.hh>
Public Types | |
| typedef LinearProductSpace< typename X::field_type, boost::fusion::vector< X, Y > > | domain_type |
| typedef domain_type | range_type |
| typedef X::field_type | field_type |
| typedef field_type | Scalar |
| typedef domain_type | Domain |
| typedef range_type | Range |
| using | domain_type = LinearProductSpace<typename X::field_type,boost::fusion::vector<X,Y>> |
| The domain type \( X \times Y \) of the Uzawa iteration. | |
| using | range_type = domain_type |
| typedef X::field_type | field_type |
| typedef field_type | Scalar |
| typedef domain_type | Domain |
| typedef range_type | Range |
Public Member Functions | |
| template<class A, class SolA, class B, class Bt, class PB> | |
| UzawaSolver (A &opA_, SolA &solA_, B &opB_, Bt &opBt_, PB &pb_, double reduction_, int maxit_, int verbose_) | |
| virtual void | apply (Domain &x, Range &b, Dune::InverseOperatorResult &res) |
| virtual void | apply (Domain &x, Range &b, double reduction_, Dune::InverseOperatorResult &res) |
| void | apply (Domain &x, Range &b) |
| virtual Dune::SolverCategory::Category | category () const override |
| returns the category of the operator | |
| UzawaSolver (Dune::LinearOperator< X, X > &A_, Dune::InverseOperator< X, X > &invA_, Dune::LinearOperator< X, Y > &B_, Dune::LinearOperator< Y, X > &Bt_, Dune::Preconditioner< Y, Y > &precS_, double reduction_, int maxit_, int verbose_) | |
| Constructor. | |
| virtual void | apply (Domain &x, Range &b, Dune::InverseOperatorResult &res) override |
| Solves the saddle point system \( K x = b \). | |
| virtual void | apply (Domain &x, Range &b, double reduction_, Dune::InverseOperatorResult &res) |
| void | apply (Domain &x, Range &b) |
| virtual Dune::SolverCategory::Category | category () const override |
| returns the category of the operator | |
An inexact Uzawa type solver for solving symmetric saddle point systems.
An inexact Uzawa solver for solving symmetric saddle point systems
\[ \begin{bmatrix} A & B^T \\ B & \end{bmatrix}\begin{bmatrix} u \\ \lambda \end{bmatrix} = \begin{bmatrix} f \\ g \end{bmatrix} \]
It implements an inexact preconditioned conjugate gradient method for the Schur complement \( BA^{-1}B^T\).
Template parameters:
Y: the linear space of the dual variable \( \lambda \)
\[ \begin{array}{cc} A & B^T \\ B & \end{array}\begin{matrix}{c} u \\ \lambda \end{matrix} = \begin{matrix}{c} f \\ g \end{matrix} \]
It implements an inexact preconditioned conjugate gradient method for the Schur complement \( S = BA^{-1}B^T\). The iteration is terminated once the preconditioned residual energy drops below a prescribed reduction factor times the solution energy, i.e. \( r^T\hat S^{-1} S \hat S^{-1} r \le \mathrm{TOL}^2 p^T S p \).
| X | the linear space of the primal variable \( u \) |
| Y | the linear space of the dual variable \( \lambda \) |
Definition at line 50 of file uzawa-old.hh.
| typedef domain_type Kaskade::UzawaSolver< X, Y >::Domain |
Definition at line 59 of file uzawa-old.hh.
| typedef domain_type Kaskade::UzawaSolver< X, Y >::Domain |
| typedef LinearProductSpace<typename X::field_type,boost::fusion::vector<X,Y> > Kaskade::UzawaSolver< X, Y >::domain_type |
Definition at line 55 of file uzawa-old.hh.
| using Kaskade::UzawaSolver< X, Y >::domain_type = LinearProductSpace<typename X::field_type,boost::fusion::vector<X,Y>> |
The domain type \( X \times Y \) of the Uzawa iteration.
This is the LinearProductSpace of X and Y
| typedef X::field_type Kaskade::UzawaSolver< X, Y >::field_type |
Definition at line 57 of file uzawa-old.hh.
| typedef X::field_type Kaskade::UzawaSolver< X, Y >::field_type |
| typedef range_type Kaskade::UzawaSolver< X, Y >::Range |
Definition at line 60 of file uzawa-old.hh.
| typedef range_type Kaskade::UzawaSolver< X, Y >::Range |
| typedef domain_type Kaskade::UzawaSolver< X, Y >::range_type |
Definition at line 56 of file uzawa-old.hh.
| using Kaskade::UzawaSolver< X, Y >::range_type = domain_type |
| typedef field_type Kaskade::UzawaSolver< X, Y >::Scalar |
Definition at line 58 of file uzawa-old.hh.
| typedef field_type Kaskade::UzawaSolver< X, Y >::Scalar |
|
inline |
Constructor.
| opA_ | the linear operator \( A \) |
| solA_ | the approximate inverse operator \( A^{-1} \), needs to be a subclass of Dune::InverseOperator<X,X> |
| opB_ | the linear operator \( B \) |
| opBt_ | the linear operator \( B^T \) |
| pb_ | the Schur complement preconditioner |
| reduction_ | the default required reduction in preconditioned Schur complement's residual |
| maxit_ | the maximum number of iterations |
| verbose_ | printing level to stdout (0=silent, 1=result, 2=every iteration) |
Definition at line 75 of file uzawa-old.hh.
|
inline |
Constructor.
| A_ | the linear operator \( A : X \to X \) |
| invA_ | the (approximate) inverse operator \( A^{-1}: X \to X \), needs to be a subclass of Dune::InverseOperator<X,X> |
| B_ | the linear operaotr \( B: X\to Y \) |
| Bt_ | the linear operator \( B^T : Y\to X\) |
| precS_ | the Schur complement preconditioner \( P: Y\to Y \), \( P\approx S \) |
| reduction_ | the default required reduction in preconditioned Schur complement's residual |
| maxit_ | the maximum number of iterations |
| verbose_ | printing level to stdout (0=silent, 1=result, 2=every iteration) |
All the given linear operators and the Schur preconditioner are kept by reference, and have to exist during the lifetime of the UzawaSolver object.
|
inline |
Definition at line 172 of file uzawa-old.hh.
|
inline |
|
inlinevirtual |
Definition at line 166 of file uzawa-old.hh.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 89 of file uzawa-old.hh.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
returns the category of the operator
From the Dune doxygen documentation it is unclear what this is supposed to mean. We return a dummy here.
Definition at line 183 of file uzawa-old.hh.
|
inlineoverridevirtual |