Loading...
Searching...
No Matches
fvMatrix< Type >::fvSolver Class Reference

Solver class returned by the solver function used for systems in which it is useful to cache the solver for reuse. More...

#include <fvMatrix.H>

Public Member Functions

 fvSolver (fvMatrix< Type > &fvMat, autoPtr< lduMatrix::solver > &&sol)
SolverPerformance< Type > solve (const dictionary &solverControls)
 Solve returning the solution statistics.
SolverPerformance< Type > solve ()
 Solve returning the solution statistics.
Foam::solverPerformance solve (const dictionary &solverControls)
solverPerformance solve (const dictionary &)

Detailed Description

template<class Type>
class Foam::fvMatrix< Type >::fvSolver

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 298 of file fvMatrix.H.

Constructor & Destructor Documentation

◆ fvSolver()

template<class Type>
fvSolver ( fvMatrix< Type > & fvMat,
autoPtr< lduMatrix::solver > && sol )
inline

Definition at line 308 of file fvMatrix.H.

References fvMatrix< Type >::fvMatrix().

Here is the call graph for this function:

Member Function Documentation

◆ solve() [1/4]

template<class Type>
SolverPerformance< Type > solve ( const dictionary & solverControls)

Solve returning the solution statistics.

Solver controls read from dictionary

◆ solve() [2/4]

template<class Type>
Foam::SolverPerformance< Type > solve ( )

Solve returning the solution statistics.

Solver controls read from fvSolution

Definition at line 334 of file fvMatrixSolve.C.

References solve().

Referenced by solve().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solve() [3/4]

Foam::solverPerformance solve ( const dictionary & solverControls)

Definition at line 109 of file fvScalarMatrix.C.

References dictionary::getOrDefault(), Foam::Info, SolverPerformance< Type >::print(), and fvMatrix< Type >::psi().

Here is the call graph for this function:

◆ solve() [4/4]

solverPerformance solve ( const dictionary & )

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