Abstract base-class for LduMatrix smoothers. More...
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. More... | |
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. More... | |
virtual | ~smoother ()=default |
Destructor. More... | |
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. More... | |
Static Public Member Functions | |
static autoPtr< smoother > | New (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &smootherDict) |
Return a new smoother. More... | |
Protected Attributes | |
word | fieldName_ |
const LduMatrix< Type, DType, LUType > & | matrix_ |
Abstract base-class for LduMatrix smoothers.
Definition at line 322 of file LduMatrix.H.
Construct for given field name and matrix.
Definition at line 98 of file LduMatrixSmoother.C.
|
virtualdefault |
Destructor.
|
pure virtual |
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) | |||
) |
|
static |
Return a new smoother.
Definition at line 29 of file LduMatrixSmoother.C.
References LduMatrix< Type, DType, LUType >::asymmetric(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, dictionary::get(), and LduMatrix< Type, DType, LUType >::symmetric().
|
inlinenoexcept |
Definition at line 406 of file LduMatrix.H.
References LduMatrix< Type, DType, LUType >::smoother::fieldName_.
|
inlinenoexcept |
Definition at line 411 of file LduMatrix.H.
References LduMatrix< Type, DType, LUType >::smoother::matrix_.
|
pure virtual |
Smooth the solution for a given number of sweeps.
Implemented in TGaussSeidelSmoother< Type, DType, LUType >.
|
protected |
Definition at line 328 of file LduMatrix.H.
Referenced by LduMatrix< Type, DType, LUType >::smoother::fieldName().
|
protected |
Definition at line 329 of file LduMatrix.H.
Referenced by LduMatrix< Type, DType, LUType >::smoother::matrix().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.