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... | |
template<> | |
Foam::solverPerformance | solve (const dictionary &solverControls) |
template<> | |
solverPerformance | solve (const dictionary &) |
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.
References fvMatrix< Type >::ClassName(), fvMatrix< Type >::clone(), fvMatrix< Type >::fvMatrix(), fvMatrix< Type >::fvSolver::solve(), and fvMatrix< Type >::~fvMatrix().
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 298 of file fvMatrixSolve.C.
Referenced by fvMatrix< Type >::faceFluxCorrectionPtr(), fvMatrix< Type >::fvSolver::fvSolver(), fvMatrix< Type >::residual(), fvMatrix< Type >::solve(), and fvMatrix< Type >::solver().
Foam::solverPerformance solve | ( | const dictionary & | solverControls | ) |
Definition at line 99 of file fvScalarMatrix.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::Info, messageStream::masterStream(), DimensionedField< Type, GeoMesh >::mesh(), GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), SolverPerformance< Type >::print(), psi, and fvMatrix< Type >::solveSegregated().
solverPerformance solve | ( | const dictionary & | ) |