Foam::TGaussSeidelSmoother. More...
Public Member Functions | |
TypeName ("GaussSeidel") | |
Runtime type information. More... | |
TGaussSeidelSmoother (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix) | |
Construct from components. More... | |
virtual void | smooth (Field< Type > &psi, const label nSweeps) const |
Smooth the solution for a given number of sweeps. More... | |
![]() | |
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) | |
virtual | ~smoother ()=default |
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 void | smooth (const word &fieldName, Field< Type > &psi, const LduMatrix< Type, DType, LUType > &matrix, const Field< DType > &rD, const label nSweeps) |
Smooth for the given number of sweeps. More... | |
![]() | |
static autoPtr< smoother > | New (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &smootherDict) |
Return a new smoother. More... | |
Additional Inherited Members | |
![]() | |
word | fieldName_ |
const LduMatrix< Type, DType, LUType > & | matrix_ |
Definition at line 51 of file TGaussSeidelSmoother.H.
TGaussSeidelSmoother | ( | const word & | fieldName, |
const LduMatrix< Type, DType, LUType > & | matrix | ||
) |
Construct from components.
Definition at line 34 of file TGaussSeidelSmoother.C.
References UList< T >::begin(), Foam::diag(), Foam::inv(), and LduMatrix< Type, DType, LUType >::smoother::matrix().
TypeName | ( | "GaussSeidel" | ) |
Runtime type information.
|
static |
Smooth for the given number of sweeps.
Definition at line 61 of file TGaussSeidelSmoother.C.
References UList< T >::begin(), Foam::dot(), LduMatrix< Type, DType, LUType >::initMatrixInterfaces(), LduMatrix< Type, DType, LUType >::interfacesUpper(), LduMatrix< Type, DType, LUType >::lduAddr(), LduMatrix< Type, DType, LUType >::lower(), lduAddressing::ownerStartAddr(), psi, UList< T >::size(), LduMatrix< Type, DType, LUType >::source(), LduMatrix< Type, DType, LUType >::updateMatrixInterfaces(), LduMatrix< Type, DType, LUType >::upper(), and lduAddressing::upperAddr().
|
virtual |
Smooth the solution for a given number of sweeps.
Implements LduMatrix< Type, DType, LUType >::smoother.
Definition at line 152 of file TGaussSeidelSmoother.C.
References psi.