|
ThunderEgg
1.0.0
|
Implementation of a V-cycle. More...
#include <VCycle.h>


Public Member Functions | |
| VCycle (const Level< D > &finest_level, const CycleOpts &opts) | |
| Create new V-cycle. More... | |
| VCycle< D > * | clone () const override |
| Get a clone of this VCycle. 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 |
| Virtual visit function that needs to be implemented in derived classes. 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 V-cycle.
|
inline |
Create new V-cycle.
| finest_level | a pointer to the finest level |
|
inlineoverridevirtual |
Get a clone of this VCycle.
Implements ThunderEgg::Operator< D >.
|
inlineoverrideprotectedvirtual |
Virtual visit function that needs to be implemented in derived classes.
| level | the level currently begin visited. |
| f | the rhs vector cooresponding to the level |
| u | the solution vector cooresponding to the level |
Implements ThunderEgg::GMG::Cycle< D >.