Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::CGUzawaFabric Class Referenceabstract

#include <cgUzawaFabric.hh>

Inheritance diagram for vectorial::CGUzawaFabric:
concepts::SolverFabric< Real > concepts::OutputOperator

Public Member Functions

 CGUzawaFabric (concepts::Operator< Real > &A, concepts::Operator< Real > &B, concepts::Operator< Real > &Bt, concepts::Operator< Real > &C, concepts::Operator< Real > &Ai, Real maxeps=EPS, int maxit=0, uint relres=0)
 
virtual concepts::Operator< Real > * operator() (concepts::Operator< Real > &matrix)
 
virtual Operator< Real > * operator() ()=0
 
virtual Operator< Real > * operator() (Operator< Real > &matrix)=0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Fabric class for CGUzawa. Caution: As the class CGUzawa requires the submatrices for constructing a solver and not the full matrix, the fabric returns a solver for the system specified at construction time, not for the system specified when asking for a solver. This Trojan Horse behaviour is a workaround.

Author
Christoph Winkelmann, 2004

Definition at line 32 of file cgUzawaFabric.hh.

Constructor & Destructor Documentation

◆ CGUzawaFabric()

vectorial::CGUzawaFabric::CGUzawaFabric ( concepts::Operator< Real > &  A,
concepts::Operator< Real > &  B,
concepts::Operator< Real > &  Bt,
concepts::Operator< Real > &  C,
concepts::Operator< Real > &  Ai,
Real  maxeps = EPS,
int  maxit = 0,
uint  relres = 0 
)
inline

Constructor.

Parameters
maxepsMaximal residual
maxitMaximal number of iterations
rsRestart
relres0: absolute residual, 1: relative residual

Definition at line 40 of file cgUzawaFabric.hh.

Member Function Documentation

◆ info()

virtual std::ostream & vectorial::CGUzawaFabric::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 52 of file cgUzawaFabric.hh.

◆ operator()() [1/2]

virtual Operator< Real > * concepts::SolverFabric< Real >::operator() ( )
pure virtualinherited

Creates a linear solver from matrix. The caller is responsible for the deletion of the delivered object.

Returns
Reference to the linear solver

Implemented in concepts::UmfpackFabric.

◆ operator()() [2/2]

virtual concepts::Operator< Real > * vectorial::CGUzawaFabric::operator() ( concepts::Operator< Real > &  matrix)
inlinevirtual

Definition at line 47 of file cgUzawaFabric.hh.


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