Abstract base-class for LduMatrix smoothers. More...
#include <LduMatrix.H>


Public Member Functions | |
| virtual const word & | type () const =0 |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, smoother, symMatrix,(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix),(fieldName, matrix)) | |
| declareRunTimeSelectionTable (autoPtr, smoother, asymMatrix,(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix),(fieldName, matrix)) | |
| smoother (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix) | |
| Construct for given field name and matrix. | |
| virtual | ~smoother ()=default |
| Destructor. | |
| const word & | fieldName () const noexcept |
| const LduMatrix< Type, DType, LUType > & | matrix () const noexcept |
| virtual void | smooth (Field< Type > &psi, const label nSweeps) const =0 |
| Smooth the solution for a given number of sweeps. | |
Static Public Member Functions | |
| static autoPtr< smoother > | New (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &smootherDict) |
| Return a new smoother. | |
Protected Attributes | |
| word | fieldName_ |
| const LduMatrix< Type, DType, LUType > & | matrix_ |
Abstract base-class for LduMatrix smoothers.
Definition at line 334 of file LduMatrix.H.
| smoother | ( | const word & | fieldName, |
| const LduMatrix< Type, DType, LUType > & | matrix ) |
Construct for given field name and matrix.
Definition at line 97 of file LduMatrixSmoother.C.
References fieldName(), fieldName_, LduMatrix< Type, DType, LUType >::LduMatrix(), matrix(), and matrix_.
Referenced by declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), and TGaussSeidelSmoother< Type, DType, LUType >::TGaussSeidelSmoother().


|
virtualdefault |
Destructor.
|
pure virtual |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| smoother | , | ||
| symMatrix | , | ||
| (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix) | , | ||
| (fieldName, matrix) | ) |
References fieldName(), LduMatrix< Type, DType, LUType >::LduMatrix(), matrix(), and smoother().

| declareRunTimeSelectionTable | ( | autoPtr | , |
| smoother | , | ||
| asymMatrix | , | ||
| (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix) | , | ||
| (fieldName, matrix) | ) |
References fieldName(), LduMatrix< Type, DType, LUType >::LduMatrix(), matrix(), and smoother().

|
static |
Return a new smoother.
Definition at line 28 of file LduMatrixSmoother.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, fieldName(), dictionary::get(), LduMatrix< Type, DType, LUType >::LduMatrix(), and matrix().
Referenced by SmoothSolver< Type, DType, LUType >::solve().


|
inlinenoexcept |
Definition at line 418 of file LduMatrix.H.
References fieldName_, and Foam::noexcept.
Referenced by declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), New(), smoother(), TGaussSeidelSmoother< Type, DType, LUType >::TGaussSeidelSmoother(), and TGaussSeidelSmoother< Type, DType, LUType >::TypeName().

|
inlinenoexcept |
Definition at line 423 of file LduMatrix.H.
References LduMatrix< Type, DType, LUType >::LduMatrix(), matrix_, and Foam::noexcept.
Referenced by declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), New(), smoother(), TGaussSeidelSmoother< Type, DType, LUType >::TGaussSeidelSmoother(), and TGaussSeidelSmoother< Type, DType, LUType >::TypeName().


|
pure virtual |
Smooth the solution for a given number of sweeps.
Implemented in TGaussSeidelSmoother< Type, DType, LUType >.
References psi.
|
protected |
Definition at line 340 of file LduMatrix.H.
Referenced by fieldName(), TGaussSeidelSmoother< Type, DType, LUType >::smooth(), TGaussSeidelSmoother< Type, DType, LUType >::smooth(), and smoother().
|
protected |
Definition at line 341 of file LduMatrix.H.
Referenced by matrix(), TGaussSeidelSmoother< Type, DType, LUType >::smooth(), TGaussSeidelSmoother< Type, DType, LUType >::smooth(), and smoother().