
Public Member Functions | |
| MGSmoother (const unsigned int steps=1, const bool variable=false, const bool symmetric=false, const bool transpose=false) | |
| MGSmoother (VectorMemory< VECTOR > &mem, const unsigned int steps=1, const bool variable=false, const bool symmetric=false, const bool transpose=false) | |
| void | set_steps (const unsigned int) |
| void | set_variable (const bool) |
| void | set_symmetric (const bool) |
| void | set_transpose (const bool) |
| void | set_debug (const unsigned int level) |
Protected Attributes | |
| unsigned int | steps |
| bool | variable |
| bool | symmetric |
| bool | transpose |
| unsigned int | debug |
| SmartPointer< VectorMemory < VECTOR >, MGSmoother< VECTOR > > | mem |
Private Attributes | |
| GrowingVectorMemory< VECTOR > | my_memory |
A base class for smoother handling information on smoothing. While not adding to the abstract interface in MGSmootherBase, this class stores information on the number and type of smoothing steps, which in turn can be used by a derived class.
| MGSmoother< VECTOR >::MGSmoother | ( | const unsigned int | steps = 1, |
| const bool | variable = false, |
||
| const bool | symmetric = false, |
||
| const bool | transpose = false |
||
| ) |
Constructor. Sets smoothing parameters and creates a private GrowingVectorMemory object to be used to retrieve vectors.
| MGSmoother< VECTOR >::MGSmoother | ( | VectorMemory< VECTOR > & | mem, |
| const unsigned int | steps = 1, |
||
| const bool | variable = false, |
||
| const bool | symmetric = false, |
||
| const bool | transpose = false |
||
| ) |
Constructor. Sets memory and smoothing parameters.
| void MGSmoother< VECTOR >::set_steps | ( | const unsigned | int | ) |
Modify the number of smoothing steps on finest level.
| void MGSmoother< VECTOR >::set_variable | ( | const bool | ) |
Switch on/off variable smoothing.
| void MGSmoother< VECTOR >::set_symmetric | ( | const bool | ) |
Switch on/off symmetric smoothing.
| void MGSmoother< VECTOR >::set_transpose | ( | const bool | ) |
Switch on/off transposed smoothing. The effect is overriden by set_symmetric().
| void MGSmoother< VECTOR >::set_debug | ( | const unsigned int | level | ) |
GrowingVectorMemory<VECTOR> MGSmoother< VECTOR >::my_memory [private] |
The memory object to be used if none is given to the constructor.
unsigned int MGSmoother< VECTOR >::steps [protected] |
Number of smoothing steps on the finest level. If no variable smoothing is chosen, this is the number of steps on all levels.
bool MGSmoother< VECTOR >::variable [protected] |
Variable smoothing: double the number of smoothing steps whenever going to the next coarser level
bool MGSmoother< VECTOR >::symmetric [protected] |
Symmetric smoothing: in the smoothing iteration, alternate between the relaxation method and its transpose.
bool MGSmoother< VECTOR >::transpose [protected] |
unsigned int MGSmoother< VECTOR >::debug [protected] |
Output debugging information to deallog if this is nonzero.
SmartPointer<VectorMemory<VECTOR>, MGSmoother<VECTOR> > MGSmoother< VECTOR >::mem [protected] |
Memory for auxiliary vectors.
documentation generated on Fri Aug 12 2011 15:01:05 by
doxygen
1.7.4