OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

GaussSeidelSmoother Class Reference

A lduMatrix::smoother for Gauss-Seidel. More...

Inheritance diagram for GaussSeidelSmoother:
Collaboration diagram for GaussSeidelSmoother:

List of all members.


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.

Detailed Description

A lduMatrix::smoother for Gauss-Seidel.

Source files

Definition at line 44 of file GaussSeidelSmoother.H.


Constructor & Destructor Documentation

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 37 of file GaussSeidelSmoother.C.


Member Function Documentation

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 59 of file GaussSeidelSmoother.C.

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 smoother.

Definition at line 169 of file GaussSeidelSmoother.C.


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