All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Opm::Elasticity::UzawaSolver< X, Y > Class Template Reference

Template implementing an Uzawa scheme (block Gaussian-elimination) for a (symmetric indefinite) saddle-point system. More...

#include <uzawa_solver.hpp>

Inheritance diagram for Opm::Elasticity::UzawaSolver< X, Y >:

Public Types

typedef std::shared_ptr
< Dune::InverseOperator< X, Y > > 
OperatorPtr
 

Public Member Functions

 UzawaSolver (OperatorPtr &innersolver_, OperatorPtr &outersolver_, const Matrix &B_)
 Default constructor. More...
 
void apply (X &x, Y &b, double, Dune::InverseOperatorResult &res)
 Apply the scheme to a vector. More...
 
void apply (X &x, Y &b, Dune::InverseOperatorResult &res)
 Apply the scheme to a vector. More...
 

Protected Attributes

OperatorPtr innersolver
 The inner solver.
 
OperatorPtr outersolver
 The outer solver.
 
const Matrix & B
 The coupling matrix.
 

Detailed Description

template<class X, class Y>
class Opm::Elasticity::UzawaSolver< X, Y >

Template implementing an Uzawa scheme (block Gaussian-elimination) for a (symmetric indefinite) saddle-point system.

Constructor & Destructor Documentation

template<class X , class Y >
Opm::Elasticity::UzawaSolver< X, Y >::UzawaSolver ( OperatorPtr &  innersolver_,
OperatorPtr &  outersolver_,
const Matrix &  B_ 
)
inline

Default constructor.

Parameters
[in]innersolver_The inner solver
[in]outersolve_The outer solver
[in]BCoupling matrix

Member Function Documentation

template<class X , class Y >
void Opm::Elasticity::UzawaSolver< X, Y >::apply ( X &  x,
Y &  b,
double  ,
Dune::InverseOperatorResult &  res 
)
inline

Apply the scheme to a vector.

Parameters
[in]xThe solution vector
[in]bThe load vector
[in]reductionIgnored
[in]resThe inverse operator result
template<class X , class Y >
void Opm::Elasticity::UzawaSolver< X, Y >::apply ( X &  x,
Y &  b,
Dune::InverseOperatorResult &  res 
)
inline

Apply the scheme to a vector.

Parameters
[in]xThe solution vector
[in]bThe load vector
[in]resThe inverse operator result

The documentation for this class was generated from the following file: