A lduMatrix::smoother for Gauss-Seidel. More...
#include <OpenFOAM/GaussSeidelSmoother.H>
A lduMatrix::smoother for Gauss-Seidel.
Definition at line 49 of file GaussSeidelSmoother.H.
Public Member Functions | |
TypeName ("GaussSeidel") | |
Runtime type information.
| |
GaussSeidelSmoother (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces) | |
Construct from components.
| |
virtual void | smooth (scalarField &psi, const scalarField &Source, const direction cmpt, const label nSweeps) const |
Smooth the solution for a given number of sweeps.
| |
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.
|
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 45 of file GaussSeidelSmoother.C.
TypeName | ( | "GaussSeidel" | ) |
Runtime type information.
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 | ||
) | [static]
|
Smooth for the given number of sweeps.
Definition at line 67 of file GaussSeidelSmoother.C.
References UList< T >::begin(), lduMatrix::diag(), forAll, lduMatrix::initMatrixInterfaces(), lduMatrix::lduAddr(), lduMatrix::lower(), lduAddressing::ownerStartAddr(), UPtrList< T >::set(), PtrList< T >::size(), List< T >::size(), lduMatrix::updateMatrixInterfaces(), lduMatrix::upper(), and lduAddressing::upperAddr().
void smooth | ( | scalarField & | psi, |
const scalarField & | Source, | ||
const direction | cmpt, | ||
const label | nSweeps | ||
) | const [virtual]
|
Smooth the solution for a given number of sweeps.
Implements lduMatrix::smoother.
Definition at line 177 of file GaussSeidelSmoother.C.