Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
vectorial::BramblePasciakFabric Class Reference

Fabric class for BramblePasciak. More...

#include <bramblePasciakFabric.hh>

Inheritance diagram for vectorial::BramblePasciakFabric:
Inheritance graph
[legend]
Collaboration diagram for vectorial::BramblePasciakFabric:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BramblePasciakFabric (concepts::Operator< Real > &A, concepts::Operator< Real > &B, concepts::Operator< Real > &Bt, concepts::Operator< Real > &C, concepts::Operator< Real > &W, Real maxeps=EPS, int maxit=0, uint relres=0)
 Constructor.
virtual Operator< Real > * operator() (SparseMatrix< Real > &matrix)
virtual concepts::Operator
< Real > * 
operator() (concepts::Operator< Real > &matrix)
 Creates a linear solver from matrix.

Protected Member Functions

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

Private Attributes

concepts::Operator< Real > & A_
 Upper left submatrix.
concepts::Operator< Real > & B_
 Upper right submatrix.
concepts::Operator< Real > & Bt_
 Lower left submatrix.
concepts::Operator< Real > & C_
 Lower right submatrix.
Real maxeps_
 Convergence criteria for the solver.
int maxit_
 Convergence criteria for the solver.
uint relres_
 relres = 0: absolute residual, relres = 1: relative residual
concepts::Operator< Real > & W_
 Preconditioner for A.

Detailed Description

Fabric class for BramblePasciak.

Caution: As the class BramblePasciak 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 30 of file bramblePasciakFabric.hh.


Constructor & Destructor Documentation

vectorial::BramblePasciakFabric::BramblePasciakFabric ( concepts::Operator< Real > &  A,
concepts::Operator< Real > &  B,
concepts::Operator< Real > &  Bt,
concepts::Operator< Real > &  C,
concepts::Operator< Real > &  W,
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 38 of file bramblePasciakFabric.hh.


Member Function Documentation

virtual std::ostream& vectorial::BramblePasciakFabric::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 53 of file bramblePasciakFabric.hh.

virtual Operator<Real >* concepts::SolverFabric< Real >::operator() ( SparseMatrix< Real > &  matrix) [inline, virtual, inherited]

Definition at line 26 of file solverFabric.hh.

Here is the call graph for this function:

virtual concepts::Operator<Real>* vectorial::BramblePasciakFabric::operator() ( concepts::Operator< Real > &  matrix) [inline, virtual]

Creates a linear solver from matrix.

The caller is responsible for the deletion of the delivered object.

Returns:
Reference to the linear solver

Implements concepts::SolverFabric< Real >.

Definition at line 48 of file bramblePasciakFabric.hh.


Member Data Documentation

Upper left submatrix.

Definition at line 59 of file bramblePasciakFabric.hh.

Upper right submatrix.

Definition at line 61 of file bramblePasciakFabric.hh.

Lower left submatrix.

Definition at line 63 of file bramblePasciakFabric.hh.

Lower right submatrix.

Definition at line 65 of file bramblePasciakFabric.hh.

Convergence criteria for the solver.

Definition at line 69 of file bramblePasciakFabric.hh.

Convergence criteria for the solver.

Definition at line 71 of file bramblePasciakFabric.hh.

relres = 0: absolute residual, relres = 1: relative residual

Definition at line 73 of file bramblePasciakFabric.hh.

Preconditioner for A.

Definition at line 67 of file bramblePasciakFabric.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)