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

NodeBiCGStabSmoother Class Reference

#include <NodeBiCGStabSmoother.H>

Inheritance diagram for NodeBiCGStabSmoother:

Inheritance graph
[legend]
Collaboration diagram for NodeBiCGStabSmoother:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

The NodeBiCGStabSmoother class implements the BiCGStab algorithm for NodeLevelOp-derived classes


Public Member Functions

Constructor and destructor
 NodeBiCGStabSmoother ()
virtual ~NodeBiCGStabSmoother ()
virtual NodeBaseBottomSmoothernew_bottomSmoother () const
Parameter-setting functions
void setMaxIter (int a_max_iter)
void setSolverTol (Real a_solverTol)
Data modification functions
virtual void doBottomSmooth (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs, NodeLevelOp *a_levelop_ptr)

Protected Attributes

int m_maxIter
Real m_solverTol
Real m_small
Real m_converge_small


Constructor & Destructor Documentation

NodeBiCGStabSmoother::NodeBiCGStabSmoother  ) 
 

Default constructor.

virtual NodeBiCGStabSmoother::~NodeBiCGStabSmoother  )  [virtual]
 

Destructor.


Member Function Documentation

virtual NodeBaseBottomSmoother* NodeBiCGStabSmoother::new_bottomSmoother  )  const [virtual]
 

this gets around the "no virtual constructor" rule

Implements NodeBaseBottomSmoother.

void NodeBiCGStabSmoother::setMaxIter int  a_max_iter  ) 
 

set max number of BiCGStab iterations

void NodeBiCGStabSmoother::setSolverTol Real  a_solverTol  ) 
 

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

virtual void NodeBiCGStabSmoother::doBottomSmooth LevelData< NodeFArrayBox > &  a_phi,
const LevelData< NodeFArrayBox > &  a_rhs,
NodeLevelOp a_levelop_ptr
[virtual]
 

Perform BiCGStab smoothing of L(a_phi) = a_rhs, where L is the operator defined in a_levelop_ptr, and the preconditioner is a_levelop_ptr->levelPreconditioner().

Parameters:
a_phi  data at this level, to be smoothed
a_rhs  right-hand side at this level
a_levelop_ptr  pointer to the operator

Implements NodeBaseBottomSmoother.


Member Data Documentation

int NodeBiCGStabSmoother::m_maxIter [protected]
 

max number of iterations

Real NodeBiCGStabSmoother::m_solverTol [protected]
 

solver tolerance

Real NodeBiCGStabSmoother::m_small [protected]
 

small parameter to check for division by zero

Real NodeBiCGStabSmoother::m_converge_small [protected]
 

parameter to check for hanging


The documentation for this class was generated from the following file:
Generated on Fri Jul 2 17:55:55 2004 for Chombo by doxygen 1.3.2