Foam::TGaussSeidelSmoother. More...
Public Member Functions | |
TypeName ("GaussSeidel") | |
TGaussSeidelSmoother (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix) | |
virtual void | smooth (Field< Type > &psi, const label nSweeps) const |
![]() | |
virtual const word & | type () const =0 |
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 |
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) |
![]() | |
static autoPtr< smoother > | New (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &smootherDict) |
Additional Inherited Members | |
![]() | |
word | fieldName_ |
const LduMatrix< Type, DType, LUType > & | matrix_ |
Definition at line 47 of file TGaussSeidelSmoother.H.
TGaussSeidelSmoother | ( | const word & | fieldName, |
const LduMatrix< Type, DType, LUType > & | matrix | ||
) |
Definition at line 28 of file TGaussSeidelSmoother.C.
References LduMatrix::diag(), and Foam::inv().
TypeName | ( | "GaussSeidel" | ) |
|
static |
Definition at line 55 of file TGaussSeidelSmoother.C.
References UList::begin(), Foam::dot(), LduMatrix::initMatrixInterfaces(), LduMatrix::interfacesUpper(), LduMatrix::lduAddr(), LduMatrix::lower(), lduAddressing::ownerStartAddr(), psi, LduMatrix::source(), Foam::fvc::sweep(), LduMatrix::updateMatrixInterfaces(), LduMatrix::upper(), and lduAddressing::upperAddr().
|
virtual |
Implements LduMatrix::smoother.
Definition at line 146 of file TGaussSeidelSmoother.C.
References psi, and Foam::fvc::smooth().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.