Public Member Functions | Static Public Member Functions | List of all members
TGaussSeidelSmoother< Type, DType, LUType > Class Template Reference

Foam::TGaussSeidelSmoother. More...

Inheritance diagram for TGaussSeidelSmoother< Type, DType, LUType >:
Inheritance graph
[legend]
Collaboration diagram for TGaussSeidelSmoother< Type, DType, LUType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("GaussSeidel")
 
 TGaussSeidelSmoother (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix)
 
virtual void smooth (Field< Type > &psi, const label nSweeps) const
 
- Public Member Functions inherited from LduMatrix::smoother
virtual const wordtype () const =0
 
 declareRunTimeSelectionTable (autoPtr, smoother, symMatrix,(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix),(fieldName, matrix))
 
 declareRunTimeSelectionTable (autoPtr, smoother, asymMatrix,(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix),(fieldName, matrix))
 
 smoother (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix)
 
virtual ~smoother ()=default
 
const wordfieldName () const noexcept
 
const LduMatrix< Type, DType, LUType > & matrix () const noexcept
 

Static Public Member Functions

static void smooth (const word &fieldName, Field< Type > &psi, const LduMatrix< Type, DType, LUType > &matrix, const Field< DType > &rD, const label nSweeps)
 
- Static Public Member Functions inherited from LduMatrix::smoother
static autoPtr< smootherNew (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &smootherDict)
 

Additional Inherited Members

- Protected Attributes inherited from LduMatrix::smoother
word fieldName_
 
const LduMatrix< Type, DType, LUType > & matrix_
 

Detailed Description

template<class Type, class DType, class LUType>
class Foam::TGaussSeidelSmoother< Type, DType, LUType >

Foam::TGaussSeidelSmoother.

Source files

Definition at line 47 of file TGaussSeidelSmoother.H.

Constructor & Destructor Documentation

◆ TGaussSeidelSmoother()

TGaussSeidelSmoother ( const word fieldName,
const LduMatrix< Type, DType, LUType > &  matrix 
)

Definition at line 28 of file TGaussSeidelSmoother.C.

References LduMatrix::diag(), and Foam::inv().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "GaussSeidel"  )

◆ smooth() [1/2]

void smooth ( const word fieldName,
Field< Type > &  psi,
const LduMatrix< Type, DType, LUType > &  matrix,
const Field< DType > &  rD,
const label  nSweeps 
)
static

◆ smooth() [2/2]

void smooth ( Field< Type > &  psi,
const label  nSweeps 
) const
virtual

Implements LduMatrix::smoother.

Definition at line 146 of file TGaussSeidelSmoother.C.

References psi, and Foam::fvc::smooth().

Here is the call graph for this function:

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