NodeBaseBottomSmoother Class Reference

#include <NodeBaseBottomSmoother.H>

Inheritance diagram for NodeBaseBottomSmoother:

Inheritance graph
[legend]

List of all members.


Detailed Description

Pure base class to encapsulate bottom smoother for NodeLevelOp-derived objects.

The NodeBaseBottomSmoother class is a virtual base class for implementing different bottomSmoother algorithms for NodeLevelOp-derived classes. It takes a NodeLevelOp pointer as an argument during its definition, in order to access the problem-dependent (equation-dependent) functionality of the specific NodeLevelOp derivative class.

Public Member Functions

Constructor and destructor
 NodeBaseBottomSmoother ()
virtual ~NodeBaseBottomSmoother ()
virtual NodeBaseBottomSmoothernew_bottomSmoother () const =0
Parameter-setting functions
void setVerbose (bool a_verbose)
Data modification functions
virtual void doBottomSmooth (LevelData< NodeFArrayBox > &a_phi, const LevelData< NodeFArrayBox > &a_rhs, NodeLevelOp *a_levelop_ptr)=0

Public Attributes

bool m_verbose


Constructor & Destructor Documentation

NodeBaseBottomSmoother::NodeBaseBottomSmoother (  )  [inline]

Default constructor.

virtual NodeBaseBottomSmoother::~NodeBaseBottomSmoother (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual NodeBaseBottomSmoother* NodeBaseBottomSmoother::new_bottomSmoother (  )  const [pure virtual]

This gets around the "no virtual constructor" rule.

Implemented in NodeBiCGStabSmoother, NodeCGSmoother, and NodeNoOpSmoother.

void NodeBaseBottomSmoother::setVerbose ( bool  a_verbose  )  [inline]

Control output to stdout.

References m_verbose.

virtual void NodeBaseBottomSmoother::doBottomSmooth ( LevelData< NodeFArrayBox > &  a_phi,
const LevelData< NodeFArrayBox > &  a_rhs,
NodeLevelOp a_levelop_ptr 
) [pure virtual]

Perform 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

Implemented in NodeBiCGStabSmoother, NodeCGSmoother, and NodeNoOpSmoother.


Member Data Documentation

enable output to stdout if true

Referenced by setVerbose().


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

Generated on Tue Apr 14 14:23:49 2009 for Chombo + EB by  doxygen 1.5.5