Implements BiCGStab as a bottom smoother for LevelOp-derived classes
Inheritance:
public members:
-
- constructor, destructor
BiCGStabSmoother()
- default constructor
virtual ~BiCGStabSmoother()
- destructor
-
virtual BaseBottomSmoother * new_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
Documentation
The BiCGStabSmoother class implements the BiCGStab algorithm for
LevelOp-derived classes
- virtual BaseBottomSmoother * new_bottomSmoother () const
- this gets around the "no virtual constructor" rule
- void setMaxIter (int a_max_iter)
- set max number of BiCGStab iterations
- void setSolverTol (Real a_solver_tol)
- set solver tolerance (amount residual must be decreased, etc)
- void setVerbose (bool a_verbose)
-
set whether i/o is done when solving (default is false)
- virtual void doBottomSmooth (LevelData< FArrayBox >& a_phi, const LevelData< FArrayBox >& a_rhs, LevelOp * a_levelop_ptr)
- 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
this class has no child classes.
alphabetic index hierarchy of classes
Chombo
Copyright Notice
This software is copyright (C) by the Lawrence Berkeley
National Laboratory. Permission is granted to reproduce
this software for non-commercial purposes provided that
this notice is left intact.
It is acknowledged that the U.S. Government has rights to
this software under Contract DE-AC03-765F00098 between
the U.S. Department of Energy and the University of
California.
This software is provided as a professional and academic
contribution for joint exchange. Thus it is experimental,
is provided ``as is'', with no warranties of any kind
whatsoever, no support, no promise of updates, or printed
documentation. By using this software, you acknowledge
that the Lawrence Berkeley National Laboratory and
Regents of the University of California shall have no
liability with respect to the infringement of other
copyrights by any part of this software.