lduMatrix::solver Class ReferenceInheritance diagram for lduMatrix::solver:
[legend]Collaboration diagram for lduMatrix::solver:
[legend]List of all members.
Detailed Description
Abstract base-class for lduMatrix solvers.
Definition at line 216 of file lduMatrix.H.
|
Public Member Functions |
| virtual const word & | type () const=0 |
| | Runtime type information.
|
| | declareRunTimeSelectionTable (autoPtr, solver, symMatrix,(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &solverData),(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces, solverData)) |
| | declareRunTimeSelectionTable (autoPtr, solver, asymMatrix,(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &solverData),(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces, solverData)) |
| | solver (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &solverData) |
| virtual | ~solver () |
| const word & | fieldName () const |
| const lduMatrix & | matrix () const |
| const FieldField< Field, scalar > & | interfaceBouCoeffs () const |
| const FieldField< Field, scalar > & | interfaceIntCoeffs () const |
| const lduInterfaceFieldPtrsList & | interfaces () const |
| virtual void | read (Istream &solverData) |
| | Read and reset the solver parameters from the given stream.
|
| virtual solverPerformance | solve (scalarField &psi, const scalarField &source, const direction cmpt=0) const =0 |
| scalar | normFactor (const scalarField &psi, const scalarField &source, const scalarField &Apsi, scalarField &tmpField) const |
| | Return the matrix norm used to normalise the residual for the.
|
Static Public Member Functions |
| static autoPtr< solver > | New (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &solverData) |
| | Return a new solver.
|
Protected Member Functions |
| template<class T> |
| void | readControl (const dictionary &controlDict, T &control, const word &controlName) |
| | Read a control parameter from controlDict.
|
| virtual void | readControls () |
| | Read the control parameters from the controlDict_.
|
Protected Attributes |
| word | fieldName_ |
| const lduMatrix & | matrix_ |
| const FieldField< Field, scalar > & | interfaceBouCoeffs_ |
| const FieldField< Field, scalar > & | interfaceIntCoeffs_ |
| lduInterfaceFieldPtrsList | interfaces_ |
| dictionary | controlDict_ |
| | dictionary of controls
|
| label | maxIter_ |
| | Maximum number of iterations in the solver.
|
| scalar | tolerance_ |
| | Final convergence tolerance.
|
| scalar | relTol_ |
| | Convergence tolerance relative to the initial.
|
Constructor & Destructor Documentation
| virtual ~solver |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| void readControl |
( |
const dictionary & |
controlDict, |
|
|
T & |
control, |
|
|
const word & |
controlName | |
|
) |
| | [inline, protected] |
Read a control parameter from controlDict.
| virtual void readControls |
( |
|
) |
[protected, virtual] |
Read the control parameters from the controlDict_.
Reimplemented in smoothSolver.
| virtual const word& type |
( |
|
) |
const [pure virtual] |
Runtime type information.
| declareRunTimeSelectionTable |
( |
autoPtr |
, |
|
|
solver |
, |
|
|
symMatrix |
, |
|
|
(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &solverData) |
, |
|
|
(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces, solverData) |
| |
|
) |
| | |
| declareRunTimeSelectionTable |
( |
autoPtr |
, |
|
|
solver |
, |
|
|
asymMatrix |
, |
|
|
(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, Istream &solverData) |
, |
|
|
(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces, solverData) |
| |
|
) |
| | |
| const word& fieldName |
( |
|
) |
const [inline] |
| virtual void read |
( |
Istream & |
solverData |
) |
[virtual] |
Return the matrix norm used to normalise the residual for the.
stopping criterion
Member Data Documentation
Maximum number of iterations in the solver.
Definition at line 232 of file lduMatrix.H.
Final convergence tolerance.
Definition at line 235 of file lduMatrix.H.
Convergence tolerance relative to the initial.
Definition at line 238 of file lduMatrix.H.
The documentation for this class was generated from the following file:
Copyright © 2000-2007 OpenCFD Ltd
|