ThunderEgg
1.0.0
|
Represents a level in geometric multi-grid. More...
#include <Level.h>
Public Member Functions | |
Level () | |
Create a Level object. | |
void | setRestrictor (const Restrictor< D > &restrictor) |
Set the restriction operator for restricting from this level to the coarser level. More... | |
const Restrictor< D > & | getRestrictor () const |
Get the restriction operator for this level. More... | |
void | setInterpolator (const Interpolator< D > &interpolator) |
Set the interpolation operator for interpolating from this level to the finer level. More... | |
const Interpolator< D > & | getInterpolator () const |
Get the interpolation operator for this level. More... | |
void | setOperator (const Operator< D > &op) |
Set the operator (matrix) for this level. More... | |
const Operator< D > & | getOperator () const |
Get the operator for this level. More... | |
void | setSmoother (const Smoother< D > &smoother) |
Set the smoother for this level. More... | |
const Smoother< D > & | getSmoother () const |
Get smoother operator for this level. More... | |
void | setCoarser (std::shared_ptr< const Level > coarser) |
Set pointer to the coarser level. More... | |
const Level & | getCoarser () const |
get reference to the coarser level. More... | |
bool | finest () const |
Check if this level is the finest level. More... | |
bool | coarsest () const |
Check if this level is the coarsest level. More... | |
Represents a level in geometric multi-grid.
|
inline |
Check if this level is the coarsest level.
|
inline |
Check if this level is the finest level.
|
inline |
get reference to the coarser level.
|
inline |
Get the interpolation operator for this level.
|
inline |
Get the operator for this level.
|
inline |
Get the restriction operator for this level.
|
inline |
Get smoother operator for this level.
|
inline |
Set pointer to the coarser level.
coarser | the pointer to the coarser level. |
|
inline |
Set the interpolation operator for interpolating from this level to the finer level.
interpolator | the interpolation operator. |
|
inline |
Set the operator (matrix) for this level.
op | the operator |
|
inline |
Set the restriction operator for restricting from this level to the coarser level.
restrictor | the restriction operator. |
|
inline |
Set the smoother for this level.
smoother | the smoother |