Loading...
Searching...
No Matches
FDMMGLinearSystem2.hpp
Go to the documentation of this file.
static void ResizeArrayWithCoarsest(const Vector2UZ &coarsestResolution, size_t numberOfLevels, std::vector< Array2< T > > *levels)
Resizes the array with the coarsest resolution and number of levels.
Definition FDMMGLinearSystem2-Impl.hpp:17
static void Correct(const FDMVector2 &coarser, FDMVector2 *finer)
Corrects given coarser grid to the finer grid.
static void Restrict(const FDMVector2 &finer, FDMVector2 *coarser)
Restricts given finer grid to the coarser grid.
static void ResizeArrayWithFinest(const Vector2UZ &finestResolution, size_t maxNumberOfLevels, std::vector< Array2< T > > *levels)
Resizes the array with the finest resolution and max number of levels.
Definition FDMMGLinearSystem2-Impl.hpp:38
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
FDMMGVector2 x
The solution vector.
Definition FDMMGLinearSystem2.hpp:55
FDMMGMatrix2 A
The system matrix.
Definition FDMMGLinearSystem2.hpp:52
size_t GetNumberOfLevels() const
Returns the number of multigrid levels.
void ResizeWithFinest(const Vector2UZ &finestResolution, size_t maxNumberOfLevels)
Resizes the system with the finest resolution and max number of levels.
void ResizeWithCoarsest(const Vector2UZ &coarsestResolution, size_t numberOfLevels)
Resizes the system with the coarsest resolution and number of levels.
1.9.8