A lduMatrix::smoother for Gauss-Seidel. More...
Static Public Member Functions | |
static void | smooth (const word &fieldName, scalarField &psi, const lduMatrix &matrix, const scalarField &source, const FieldField< Field, scalar > &interfaceBouCoeffs, const lduInterfaceFieldPtrsList &interfaces, const direction cmpt, const label nSweeps) |
Smooth for the given number of sweeps. More... | |
Static Public Member Functions inherited from lduMatrix::smoother | |
static word | getName (const dictionary &) |
Find the smoother name (directly or from a sub-dictionary) More... | |
static autoPtr< smoother > | New (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls) |
Return a new smoother. More... | |
Additional Inherited Members | |
Protected Attributes inherited from lduMatrix::smoother | |
word | fieldName_ |
const lduMatrix & | matrix_ |
const FieldField< Field, scalar > & | interfaceBouCoeffs_ |
const FieldField< Field, scalar > & | interfaceIntCoeffs_ |
const lduInterfaceFieldPtrsList & | interfaces_ |
A lduMatrix::smoother for Gauss-Seidel.
Definition at line 48 of file GaussSeidelSmoother.H.
GaussSeidelSmoother | ( | const word & | fieldName, |
const lduMatrix & | matrix, | ||
const FieldField< Field, scalar > & | interfaceBouCoeffs, | ||
const FieldField< Field, scalar > & | interfaceIntCoeffs, | ||
const lduInterfaceFieldPtrsList & | interfaces | ||
) |
Construct from components.
Definition at line 44 of file GaussSeidelSmoother.C.
TypeName | ( | "GaussSeidel" | ) |
Runtime type information.
|
static |
Smooth for the given number of sweeps.
Definition at line 66 of file GaussSeidelSmoother.C.
References UList< T >::begin(), lduMatrix::diag(), forAll, lduMatrix::initMatrixInterfaces(), lduMatrix::lduAddr(), lduMatrix::lower(), FieldField< Field, Type >::negate(), lduAddressing::ownerStartAddr(), patchi, psi, UPtrList< T >::set(), List< T >::size(), Foam::fvc::sweep(), lduMatrix::updateMatrixInterfaces(), lduMatrix::upper(), and lduAddressing::upperAddr().
|
virtual |
Smooth the solution for a given number of sweeps.
Implements lduMatrix::smoother.
Definition at line 190 of file GaussSeidelSmoother.C.
References psi, and Foam::fvc::smooth().