Solver class returned by the solver function. More...
Public Member Functions | |
fvSolver (fvMatrix< Type > &fvMat, autoPtr< lduMatrix::solver > sol) | |
SolverPerformance< Type > | solve (const dictionary &) |
Solve returning the solution statistics. More... | |
SolverPerformance< Type > | solve () |
Solve returning the solution statistics. More... | |
Foam::solverPerformance | solve (const dictionary &solverControls) |
solverPerformance | solve (const dictionary &) |
Private Attributes | |
fvMatrix< Type > & | fvMat_ |
autoPtr< lduMatrix::solver > | solver_ |
Solver class returned by the solver function.
used for systems in which it is useful to cache the solver for reuse e.g. if the solver is potentially expensive to construct (AMG) and can be used several times (PISO)
Definition at line 220 of file fvMatrix.H.
|
inline |
Definition at line 230 of file fvMatrix.H.
SolverPerformance<Type> solve | ( | const dictionary & | ) |
Solve returning the solution statistics.
Use the given solver controls
Foam::SolverPerformance< Type > solve | ( | ) |
Solve returning the solution statistics.
Solver controls read from fvSolution
Definition at line 296 of file fvMatrixSolve.C.
References fvMatrix::fvSolver::fvMat_, and fvMatrix::psi_.
Foam::solverPerformance solve | ( | const dictionary & | solverControls | ) |
Definition at line 98 of file fvScalarMatrix.C.
References Foam::Info, messageStream::masterStream(), SolverPerformance::print(), and psi.
solverPerformance solve | ( | const dictionary & | ) |
|
private |
Definition at line 222 of file fvMatrix.H.
Referenced by fvMatrix::fvSolver::solve().
|
private |
Definition at line 224 of file fvMatrix.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.