MG-Impl.h
Go to the documentation of this file.
31 BlasType::Residual(A[currentLevel], (*x)[currentLevel], (*b)[currentLevel], &(*r)[currentLevel]);
65 BlasType::Residual(A[currentLevel], (*x)[currentLevel], (*b)[currentLevel], &(*buffer)[currentLevel]);
68 BlasType::Residual(A[currentLevel], (*x)[currentLevel], (*b)[currentLevel], &(*buffer)[currentLevel]);
unsigned int numberOfRestrictionIter
Number of iteration at restriction step.
Definition: MG.h:66
MGResult MGVCycle(const MGMatrix< BlasType > &A, MGParameters< BlasType > params, MGVector< BlasType > *x, MGVector< BlasType > *b, MGVector< BlasType > *buffer)
Definition: MG-Impl.h:125
MGRelaxFunc< BlasType > relaxFunc
Relaxation function such as Jacobi or Gauss-Seidel.
Definition: MG.h:78
const BlasType::VectorType & operator[](size_t i) const
Definition: MG-Impl.h:101
unsigned int numberOfCoarsestIter
Number of iteration at coarsest step.
Definition: MG.h:72
unsigned int numberOfFinalIter
Number of iteration at final step.
Definition: MG.h:75
Definition: pybind11Utils.h:24
MGResult MGVCycle(const MGMatrix< BlasType > &A, MGParameters< BlasType > params, unsigned int currentLevel, MGVector< BlasType > *x, MGVector< BlasType > *b, MGVector< BlasType > *buffer)
Definition: MG-Impl.h:17
unsigned int numberOfCorrectionIter
Number of iteration at correction step.
Definition: MG.h:69
double lastResidualNorm
Lastly measured norm of residual.
Definition: MG.h:94
MGCorrectFunc< BlasType > correctFunc
Correction function that maps coarser to finer grid.
Definition: MG.h:84
const BlasType::MatrixType & operator[](size_t i) const
Definition: MG-Impl.h:77
MGRestrictFunc< BlasType > restrictFunc
Restrict function that maps finer to coarser grid.
Definition: MG.h:81