Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e.g. GaussSeidel to converge the solution to the required tolerance. To improve efficiency, the residual is evaluated after every nSweeps smoothing iterations.
More...
|
| TypeName ("SmoothSolver") |
|
| SmoothSolver (const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, 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 |
|
virtual void | read (const dictionary &solverDict) |
|
Type | normFactor (const Field< Type > &psi, const Field< Type > &Apsi, Field< Type > &tmpField) const |
|
template<class Type, class DType, class LUType>
class Foam::SmoothSolver< Type, DType, LUType >
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e.g. GaussSeidel to converge the solution to the required tolerance. To improve efficiency, the residual is evaluated after every nSweeps smoothing iterations.
- Source files
-
Definition at line 50 of file SmoothSolver.H.