FDMMGLinearSystem2.h
Go to the documentation of this file.
static void ResizeArrayWithFinest(const Size2 &finestResolution, size_t maxNumberOfLevels, std::vector< Array2< T >> *levels)
Resizes the array with the finest resolution and max number of levels.
Definition: FDMMGLinearSystem2-Impl.h:34
size_t GetNumberOfLevels() const
Returns the number of multigrid levels.
Definition: pybind11Utils.h:24
void ResizeWithFinest(const Size2 &finestResolution, size_t maxNumberOfLevels)
Resizes the system with the finest resolution and max number of levels.
static void ResizeArrayWithCoarsest(const Size2 &coarsestResolution, size_t numberOfLevels, std::vector< Array2< T >> *levels)
Resizes the array with the coarsest resolution and number of levels.
Definition: FDMMGLinearSystem2-Impl.h:15
static void Correct(const FDMVector2 &coarser, FDMVector2 *finer)
Corrects given coarser grid to the finer grid.
FDMMGVector2 x
The solution vector.
Definition: FDMMGLinearSystem2.h:30
static void Restrict(const FDMVector2 &finer, FDMVector2 *coarser)
Restricts given finer grid to the coarser grid.
FDMMGMatrix2 A
The system matrix.
Definition: FDMMGLinearSystem2.h:27
void ResizeWithCoarsest(const Size2 &coarsestResolution, size_t numberOfLevels)
Resizes the system with the coarsest resolution and number of levels.