Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BiCGStabSmoother Class Reference

Implements BiCGStab as a bottom smoother for LevelOp-derived classes. More...

#include <BiCGStabSmoother.H>

Inheritance diagram for BiCGStabSmoother:

Inheritance graph
[legend]
Collaboration diagram for BiCGStabSmoother:

Collaboration graph
[legend]
List of all members.

Public Methods

 BiCGStabSmoother ()
 constructor, destructor default constructor

virtual ~BiCGStabSmoother ()
 destructor

virtual BaseBottomSmoothernew_bottomSmoother () const
void setMaxIter (int a_max_iter)
 set maximum number of BiCGStab iterations

void setSolverTol (Real a_solver_tol)
 set solver tolerance

void setVerbose (bool a_verbose)
 set verbosity level

virtual void doBottomSmooth (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs, LevelOp *a_levelop_ptr)
 do smoothing


Protected Attributes

int m_maxIter
Real m_solver_tol
Real m_small
bool m_verbose

Detailed Description

Implements BiCGStab as a bottom smoother for LevelOp-derived classes.

The BiCGStabSmoother class implements the BiCGStab algorithm for LevelOp-derived classes


Constructor & Destructor Documentation

BiCGStabSmoother::BiCGStabSmoother  
 

constructor, destructor default constructor

virtual BiCGStabSmoother::~BiCGStabSmoother   [virtual]
 

destructor


Member Function Documentation

virtual void BiCGStabSmoother::doBottomSmooth LevelData< FArrayBox > &    a_phi,
const LevelData< FArrayBox > &    a_rhs,
LevelOp   a_levelop_ptr
[virtual]
 

do smoothing

performs BiCGStab smoothing of L(a_phi) = a_rhs; L is the operator defined in a_levelop_ptr, and the preconditioner is a_levelop_ptr->smooth

Implements BaseBottomSmoother.

virtual BaseBottomSmoother* BiCGStabSmoother::new_bottomSmoother   const [virtual]
 

this gets around the "no virtual constructor" rule

Implements BaseBottomSmoother.

void BiCGStabSmoother::setMaxIter int    a_max_iter
 

set maximum number of BiCGStab iterations

set max number of BiCGStab iterations

void BiCGStabSmoother::setSolverTol Real    a_solver_tol
 

set solver tolerance

set solver tolerance (amount residual must be decreased, etc)

void BiCGStabSmoother::setVerbose bool    a_verbose
 

set verbosity level

set whether i/o is done when solving (default is false)


Member Data Documentation

int BiCGStabSmoother::m_maxIter [protected]
 

Real BiCGStabSmoother::m_small [protected]
 

Real BiCGStabSmoother::m_solver_tol [protected]
 

bool BiCGStabSmoother::m_verbose [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Aug 29 11:07:36 2002 for Chombo&INS by doxygen1.2.16