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

Preconditioned bi-conjugate gradient solver for asymmetric lduMatrices using a run-time selectable preconditioner. More...

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

Public Member Functions

 TypeName ("PBiCCCG")
 
 PBiCCCG (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
 
virtual ~PBiCCCG ()=default
 
virtual SolverPerformance< Type > solve (Field< Type > &psi) const
 
- Public Member Functions inherited from LduMatrix::solver
virtual const wordtype () const =0
 
 declareRunTimeSelectionTable (autoPtr, solver, symMatrix,(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict),(fieldName, matrix, solverDict))
 
 declareRunTimeSelectionTable (autoPtr, solver, asymMatrix,(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict),(fieldName, matrix, solverDict))
 
 solver (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
 
virtual ~solver ()=default
 
const wordfieldName () const noexcept
 
const LduMatrix< Type, DType, LUType > & matrix () const noexcept
 
virtual void read (const dictionary &solverDict)
 
Type normFactor (const Field< Type > &psi, const Field< Type > &Apsi, Field< Type > &tmpField) const
 

Additional Inherited Members

- Static Public Member Functions inherited from LduMatrix::solver
static autoPtr< solverNew (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
 
- Protected Member Functions inherited from LduMatrix::solver
virtual void readControls ()
 
template<class T >
void readControl (const dictionary &dict, T &val, const word &key)
 
- Protected Attributes inherited from LduMatrix::solver
word fieldName_
 
const LduMatrix< Type, DType, LUType > & matrix_
 
dictionary controlDict_
 
int log_
 
label minIter_
 
label maxIter_
 
Type tolerance_
 
Type relTol_
 
- Static Protected Attributes inherited from LduMatrix::solver
static const label defaultMaxIter_ = 1000
 

Detailed Description

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

Preconditioned bi-conjugate gradient solver for asymmetric lduMatrices using a run-time selectable preconditioner.

Source files

Definition at line 49 of file PBiCCCG.H.

Constructor & Destructor Documentation

◆ PBiCCCG()

PBiCCCG ( const word fieldName,
const LduMatrix< Type, DType, LUType > &  matrix,
const dictionary solverDict 
)

Definition at line 28 of file PBiCCCG.C.

◆ ~PBiCCCG()

virtual ~PBiCCCG ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "PBiCCCG< Type, DType, LUType >"  )

◆ solve()

Foam::SolverPerformance< Type > solve ( Field< Type > &  psi) const
virtual

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