#include <AMRMultiGrid.H>
Public Member Functions | |
AMRMultiGridInspector () | |
Base class constructor. This must be called by all subclasses. | |
virtual | ~AMRMultiGridInspector () |
Destructor. | |
virtual void | recordResiduals (const Vector< T * > &a_residuals, int a_minLevel, int a_maxLevel, int a_iter)=0 |
virtual void | recordCorrections (const Vector< T * > &a_corrections, int a_minLevel, int a_maxLevel, int a_iter)=0 |
Private Member Functions | |
AMRMultiGridInspector (const AMRMultiGridInspector &) | |
AMRMultiGridInspector & | operator= (const AMRMultiGridInspector &) |
AMRMultiGridInspector< T >::AMRMultiGridInspector | ( | ) | [inline] |
Base class constructor. This must be called by all subclasses.
virtual AMRMultiGridInspector< T >::~AMRMultiGridInspector | ( | ) | [inline, virtual] |
Destructor.
AMRMultiGridInspector< T >::AMRMultiGridInspector | ( | const AMRMultiGridInspector< T > & | ) | [private] |
virtual void AMRMultiGridInspector< T >::recordResiduals | ( | const Vector< T * > & | a_residuals, | |
int | a_minLevel, | |||
int | a_maxLevel, | |||
int | a_iter | |||
) | [pure virtual] |
Override this method to keep track of a multigrid residual computed during a multigrid iteration at the given levels.
a_residuals | An array containing the residuals computed by the multigrid algorithm at each level in the range [a_minLevel, a_maxLevel]. | |
a_minLevel | The lowest AMR level at which residuals were computed. | |
a_maxLevel | The highest AMR level at which residuals were computed. | |
a_iter | The multigrid iteration number. |
Implemented in OutputAMRMultiGridInspector< T >.
virtual void AMRMultiGridInspector< T >::recordCorrections | ( | const Vector< T * > & | a_corrections, | |
int | a_minLevel, | |||
int | a_maxLevel, | |||
int | a_iter | |||
) | [pure virtual] |
Override this method to keep track of a multigrid correction computed during a V cycle at the given level.
a_corrections | An array containing the corrections computed during a V cycle at each level in the range [a_minLevel, a_maxLevel]. | |
a_minLevel | The lowest AMR level at which corrections were computed. | |
a_maxLevel | The highest AMR level at which corrections were computed. | |
a_iter | The multigrid iteration number. |
Implemented in OutputAMRMultiGridInspector< T >.
AMRMultiGridInspector& AMRMultiGridInspector< T >::operator= | ( | const AMRMultiGridInspector< T > & | ) | [private] |