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

NodeMaskBiCGStabSmoother Class Reference

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

#include <NodeMaskBiCGStabSmoother.H>

Inheritance diagram for NodeMaskBiCGStabSmoother:

Inheritance graph
[legend]
Collaboration diagram for NodeMaskBiCGStabSmoother:

Collaboration graph
[legend]
List of all members.

Public Methods

 NodeMaskBiCGStabSmoother ()
 {\bf constructor and destructor}

virtual ~NodeMaskBiCGStabSmoother ()
virtual NodeMaskBaseBottomSmoothernew_bottomSmoother () const
void setMaxIter (int a_max_iter)
 {\bf parameter-setting functions}

void setSolverTol (Real a_solverTol)
void setVerbose (bool a_verbose)
virtual void doBottomSmooth (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs, const BoxLayoutData< BaseFab< int > > &a_mask, NodeMaskLevelOp *a_levelopPtr)
 {\bf data modification functions}


Protected Attributes

int m_maxIter
Real m_solverTol
Real m_small
Real m_converge_small
bool m_verbose

Detailed Description

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

The NodeMaskBiCGStabSmoother class implements the BiCGStab algorithm for NodeMaskLevelOp-derived classes


Constructor & Destructor Documentation

NodeMaskBiCGStabSmoother::NodeMaskBiCGStabSmoother  
 

{\bf constructor and destructor}

Default constructor.

virtual NodeMaskBiCGStabSmoother::~NodeMaskBiCGStabSmoother   [virtual]
 

Destructor.


Member Function Documentation

virtual void NodeMaskBiCGStabSmoother::doBottomSmooth LevelData< NodeFArrayBox > &    a_phi,
const LevelData< NodeFArrayBox > &    a_rhs,
const BoxLayoutData< BaseFab< int > > &    a_mask,
NodeMaskLevelOp   a_levelopPtr
[virtual]
 

{\bf data modification functions}

Perform BiCGStab smoothing of L(a_phi) = a_rhs; \ L is the operator defined in a_levelopPtr, and the preconditioner is a_levelopPtr->smooth().

{\bf Arguments:}\ a_phi (modified): the data at this level.\ a_rhs (not modified): right-hand side.\ a_mask: mask arrays from REACHABLENODES.\ a_levelopPtr (not modified): pointer to the operator.\

Implements NodeMaskBaseBottomSmoother.

virtual NodeMaskBaseBottomSmoother* NodeMaskBiCGStabSmoother::new_bottomSmoother   const [virtual]
 

this gets around the "no virtual constructor" rule

Implements NodeMaskBaseBottomSmoother.

void NodeMaskBiCGStabSmoother::setMaxIter int    a_max_iter
 

{\bf parameter-setting functions}

set max number of BiCGStab iterations

void NodeMaskBiCGStabSmoother::setSolverTol Real    a_solverTol
 

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

void NodeMaskBiCGStabSmoother::setVerbose bool    a_verbose
 

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


Member Data Documentation

Real NodeMaskBiCGStabSmoother::m_converge_small [protected]
 

int NodeMaskBiCGStabSmoother::m_maxIter [protected]
 

Real NodeMaskBiCGStabSmoother::m_small [protected]
 

Real NodeMaskBiCGStabSmoother::m_solverTol [protected]
 

bool NodeMaskBiCGStabSmoother::m_verbose [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Apr 15 18:32:10 2003 for AMRNodeElliptic by doxygen1.2.16