ThunderEgg
1.0.0
|
Implementation of a W-cycle. More...
#include <WCycle.h>
Public Member Functions | |
WCycle (const Level< D > &finest_level, const CycleOpts &opts) | |
Create new W-cycle. More... | |
WCycle< D > * | clone () const override |
Get a clone of this WCycle. More... | |
Public Member Functions inherited from ThunderEgg::GMG::Cycle< D > | |
Cycle (const Level< D > &finest_level) | |
Create new cycle object. More... | |
void | apply (const Vector< D > &f, Vector< D > &u) const |
Run one iteration of the cycle. More... | |
const Level< D > & | getFinestLevel () const |
Get the finest Level. More... | |
Public Member Functions inherited from ThunderEgg::Operator< D > | |
virtual | ~Operator () |
Destroy the Operator object. | |
Protected Member Functions | |
void | visit (const Level< D > &level, const Vector< D > &f, Vector< D > &u) const override |
Implements W-cycle. Pre-smooth, visit coarser level, smooth, visit coarse level, and then post-smooth. More... | |
Protected Member Functions inherited from ThunderEgg::GMG::Cycle< D > | |
Vector< D > | restrict (const Level< D > &level, const Vector< D > &f, const Vector< D > &u) const |
Prepare vectors for coarser level. More... | |
Implementation of a W-cycle.
|
inline |
Create new W-cycle.
finest_level | a pointer to the finest level |
|
inlineoverridevirtual |
Get a clone of this WCycle.
Implements ThunderEgg::Operator< D >.
|
inlineoverrideprotectedvirtual |
Implements W-cycle. Pre-smooth, visit coarser level, smooth, visit coarse level, and then post-smooth.
level | the current level that is being visited. |
Implements ThunderEgg::GMG::Cycle< D >.