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

ICCG Class Reference

Incomplete Cholesky preconditioned CG solver derived from the general preconditioned CG solver PCG but with the choice of preconditioner pre-selected. More...

Inheritance diagram for ICCG:
Collaboration diagram for ICCG:

List of all members.


Public Member Functions

 TypeName ("ICCG")
 Runtime type information.
 ICCG (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
 Construct from matrix components and solver data stream.
 ICCG (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const scalar tolerance, const scalar relTol=0.0)
 Construct from matrix components and tolerances.
virtual ~ICCG ()

Static Public Member Functions

static dictionary solverDict (const scalar tol, const scalar relTol)
 Return the dictionary constructed from the components.
static dictionary solverDict (Istream &)
 Return the dictionary constructed from the old-style data-stream.

Detailed Description

Incomplete Cholesky preconditioned CG solver derived from the general preconditioned CG solver PCG but with the choice of preconditioner pre-selected.

Deprecated:
This solver is present for backward-compatibility and the PCG solver should be used for preference.
Source files

Definition at line 50 of file ICCG.H.


Constructor & Destructor Documentation

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

Construct from matrix components and solver data stream.

Definition at line 60 of file ICCG.C.

ICCG ( const word &  fieldName,
const lduMatrix &  matrix,
const FieldField< Field, scalar > &  interfaceBouCoeffs,
const FieldField< Field, scalar > &  interfaceIntCoeffs,
const lduInterfaceFieldPtrsList &  interfaces,
const scalar  tolerance,
const scalar  relTol = 0.0 
)

Construct from matrix components and tolerances.

Definition at line 82 of file ICCG.C.

virtual ~ICCG (  )  [inline, virtual]

Definition at line 112 of file ICCG.H.


Member Function Documentation

Foam::dictionary solverDict ( const scalar  tol,
const scalar  relTol 
) [static]

Return the dictionary constructed from the components.

Needed for backward compatibility

Definition at line 33 of file ICCG.C.

Foam::dictionary solverDict ( Istream &  is  )  [static]

Return the dictionary constructed from the old-style data-stream.

Needed for backward compatibility

Definition at line 47 of file ICCG.C.

TypeName ( "ICCG"   ) 

Runtime type information.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/matrices/lduMatrix/solvers/ICCG/ICCG.H
  • src/OpenFOAM/matrices/lduMatrix/solvers/ICCG/ICCG.C
Copyright © 2000-2009 OpenCFD Ltd