FreeFOAM The Cross-Platform CFD Toolkit
DILUSmoother Class Reference

Simplified diagonal-based incomplete LU smoother for asymmetric matrices. More...

#include <OpenFOAM/DILUSmoother.H>


Detailed Description

Simplified diagonal-based incomplete LU smoother for asymmetric matrices.

To improve efficiency, the residual is evaluated after every nSweeps sweeps.

Source files

Definition at line 52 of file DILUSmoother.H.

+ Inheritance diagram for DILUSmoother:
+ Collaboration diagram for DILUSmoother:

List of all members.

Public Member Functions

 TypeName ("DILU")
 Runtime type information.
 DILUSmoother (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
 Construct from matrix components.
void smooth (scalarField &psi, const scalarField &source, const direction cmpt, const label nSweeps) const
 Smooth the solution for a given number of sweeps.
- Public Member Functions inherited from lduMatrix::smoother
virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, smoother, symMatrix,(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces),(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces))
 declareRunTimeSelectionTable (autoPtr, smoother, asymMatrix,(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces),(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces))
 smoother (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
virtual ~smoother ()
const wordfieldName () const
const lduMatrixmatrix () const
const FieldField< Field, scalar > & interfaceBouCoeffs () const
const FieldField< Field, scalar > & interfaceIntCoeffs () const
const lduInterfaceFieldPtrsListinterfaces () const

Additional Inherited Members

- Static Public Member Functions inherited from lduMatrix::smoother
static word getName (const dictionary &)
 Find the smoother name (directly or from a sub-dictionary)
static autoPtr< smootherNew (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.
- Protected Attributes inherited from lduMatrix::smoother
word fieldName_
const lduMatrixmatrix_
const FieldField< Field, scalar > & interfaceBouCoeffs_
const FieldField< Field, scalar > & interfaceIntCoeffs_
const lduInterfaceFieldPtrsListinterfaces_

Constructor & Destructor Documentation

DILUSmoother ( const word fieldName,
const lduMatrix matrix,
const FieldField< Field, scalar > &  interfaceBouCoeffs,
const FieldField< Field, scalar > &  interfaceIntCoeffs,
const lduInterfaceFieldPtrsList interfaces 
)

Construct from matrix components.

Definition at line 43 of file DILUSmoother.C.


Member Function Documentation

TypeName ( "DILU"  )

Runtime type information.

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 68 of file DILUSmoother.C.

References UList< T >::begin().


The documentation for this class was generated from the following files: