OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

lduMatrix::smoother Class Reference

Inheritance diagram for lduMatrix::smoother:

Inheritance graph
[legend]
Collaboration diagram for lduMatrix::smoother:

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract base-class for lduMatrix smoothers.

Definition at line 400 of file lduMatrix.H.


Public Member Functions

virtual const word & type () 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 word & fieldName () const
const lduMatrix & matrix () const
const FieldField< Field, scalar > & interfaceBouCoeffs () const
const FieldField< Field, scalar > & interfaceIntCoeffs () const
const lduInterfaceFieldPtrsList & interfaces () const
virtual void smooth (scalarField &psi, const scalarField &source, const direction cmpt, const label nSweeps) const =0
 Smooth the solution for a given number of sweeps.

Static Public Member Functions

static autoPtr< smoother > New (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &smootherData)
 Return a new smoother.

Protected Attributes

word fieldName_
const lduMatrix & matrix_
const FieldField< Field, scalar > & interfaceBouCoeffs_
const FieldField< Field, scalar > & interfaceIntCoeffs_
const lduInterfaceFieldPtrsList & interfaces_

Constructor & Destructor Documentation

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

virtual ~smoother (  )  [inline, virtual]

Definition at line 492 of file lduMatrix.H.


Member Function Documentation

virtual const word& type (  )  const [pure virtual]

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)   
)

static autoPtr<smoother> New ( const word &  fieldName,
const lduMatrix &  matrix,
const FieldField< Field, scalar > &  interfaceBouCoeffs,
const FieldField< Field, scalar > &  interfaceIntCoeffs,
const lduInterfaceFieldPtrsList &  interfaces,
Istream &  smootherData 
) [static]

Return a new smoother.

const word& fieldName (  )  const [inline]

Definition at line 500 of file lduMatrix.H.

References lduMatrix::smoother::interfaceBouCoeffs_.

const lduMatrix& matrix (  )  const [inline]

Definition at line 505 of file lduMatrix.H.

References lduMatrix::smoother::interfaceIntCoeffs_.

const FieldField<Field, scalar>& interfaceBouCoeffs (  )  const [inline]

Definition at line 510 of file lduMatrix.H.

References lduMatrix::smoother::interfaces_.

const FieldField<Field, scalar>& interfaceIntCoeffs (  )  const [inline]

Definition at line 515 of file lduMatrix.H.

const lduInterfaceFieldPtrsList& interfaces (  )  const [inline]

Definition at line 520 of file lduMatrix.H.

virtual void smooth ( scalarField &  psi,
const scalarField &  source,
const direction  cmpt,
const label  nSweeps 
) const [pure virtual]

Smooth the solution for a given number of sweeps.

Implemented in DICSmoother, DICGaussSeidelSmoother, DILUSmoother, DILUGaussSeidelSmoother, and GaussSeidelSmoother.


Member Data Documentation

word fieldName_ [protected]

Definition at line 406 of file lduMatrix.H.

const lduMatrix& matrix_ [protected]

Definition at line 407 of file lduMatrix.H.

const FieldField<Field, scalar>& interfaceBouCoeffs_ [protected]

Definition at line 408 of file lduMatrix.H.

Referenced by lduMatrix::smoother::fieldName().

const FieldField<Field, scalar>& interfaceIntCoeffs_ [protected]

Definition at line 409 of file lduMatrix.H.

Referenced by lduMatrix::smoother::matrix().

Definition at line 410 of file lduMatrix.H.

Referenced by lduMatrix::smoother::interfaceBouCoeffs().


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd