FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

noPreconditioner Class Reference

Null preconditioner for both symmetric and asymmetric matrices. More...

#include <OpenFOAM/noPreconditioner.H>


Detailed Description

Null preconditioner for both symmetric and asymmetric matrices.

Source files

Definition at line 49 of file noPreconditioner.H.

Inheritance diagram for noPreconditioner:
Collaboration diagram for noPreconditioner:

List of all members.

Public Member Functions

 TypeName ("none")
 Runtime type information.
 noPreconditioner (const lduMatrix::solver &, const dictionary &solverControlsUnused)
 Construct from matrix components and preconditioner solver controls.
virtual  ~noPreconditioner ()
virtual void  precondition (scalarField &wA, const scalarField &rA, const direction cmpt=0) const
 Return wA the preconditioned form of residual rA.
virtual void  preconditionT (scalarField &wT, const scalarField &rT, const direction cmpt=0) const
 Return wT the transpose-matrix preconditioned form of residual rT.

Constructor & Destructor Documentation

noPreconditioner ( const lduMatrix::solver &   sol,
const dictionary &   solverControlsUnused  
)

Construct from matrix components and preconditioner solver controls.

Definition at line 47 of file noPreconditioner.C.

virtual ~noPreconditioner (  ) [inline, virtual]

Definition at line 80 of file noPreconditioner.H.


Member Function Documentation

TypeName ( "none"    )

Runtime type information.

void precondition ( scalarField &   wA,
const scalarField &   rA,
const direction   cmpt = 0  
) const [virtual]

Return wA the preconditioned form of residual rA.

Implements lduMatrix::preconditioner.

Definition at line 59 of file noPreconditioner.C.

References UList< T >::begin(), and List< T >::size().

Referenced by noPreconditioner::preconditionT().

virtual void preconditionT ( scalarField &   wT,
const scalarField &   rT,
const direction   cmpt = 0  
) const [inline, virtual]

Return wT the transpose-matrix preconditioned form of residual rT.

Reimplemented from lduMatrix::preconditioner.

Definition at line 96 of file noPreconditioner.H.

References noPreconditioner::precondition().


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