Go to the documentation of this file.
30 template<
class Type,
class DType,
class LUType>
33 const word& fieldName,
52 template<
class Type,
class DType,
class LUType>
56 this->readControl(this->controlDict_, nSweeps_,
"nSweeps");
60 template<
class Type,
class DType,
class LUType>
82 smootherPtr->smooth(
psi, -nSweeps_);
95 this->matrix_.Amul(Apsi,
psi);
98 normFactor = this->normFactor(
psi, Apsi, temp);
111 Info<<
" Normalisation factor = " << normFactor <<
endl;
148 (solverPerf.
nIterations() += nSweeps_) < this->maxIter_
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
SmoothSolver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix components and solver data dictionary.
virtual void readControls()
Read the control parameters from the controlDict_.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSumCmptMag(const UList< Type > &f, const label comm)
A list of keyword definitions, which are a keyword followed by any number of values (e....
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const volScalarField & psi
Traits class for primitives.
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.