Public Member Functions | |
TypeName ("diagonal") | |
DiagonalSolver (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict) | |
void | read (const dictionary &solverDict) |
virtual SolverPerformance< Type > | solve (Field< Type > &psi) const |
![]() | |
virtual const word & | type () 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 word & | fieldName () const noexcept |
const LduMatrix< Type, DType, LUType > & | matrix () const noexcept |
Type | normFactor (const Field< Type > &psi, const Field< Type > &Apsi, Field< Type > &tmpField) const |
Additional Inherited Members | |
![]() | |
static autoPtr< solver > | New (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict) |
![]() | |
virtual void | readControls () |
template<class T > | |
void | readControl (const dictionary &dict, T &val, const word &key) |
![]() | |
word | fieldName_ |
const LduMatrix< Type, DType, LUType > & | matrix_ |
dictionary | controlDict_ |
int | log_ |
label | minIter_ |
label | maxIter_ |
Type | tolerance_ |
Type | relTol_ |
![]() | |
static const label | defaultMaxIter_ = 1000 |
Definition at line 47 of file DiagonalSolver.H.
DiagonalSolver | ( | const word & | fieldName, |
const LduMatrix< Type, DType, LUType > & | matrix, | ||
const dictionary & | solverDict | ||
) |
Definition at line 27 of file DiagonalSolver.C.
TypeName | ( | "diagonal" | ) |
|
virtual |
Reimplemented from LduMatrix::solver.
Definition at line 46 of file DiagonalSolver.C.
|
virtual |
Implements LduMatrix::solver.
Definition at line 55 of file DiagonalSolver.C.
References psi, and Foam::Zero.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.