37 #ifndef TGaussSeidelSmoother_H 38 #define TGaussSeidelSmoother_H 51 template<
class Type,
class DType,
class LUType>
54 public LduMatrix<Type, DType, LUType>::smoother
TypeName("GaussSeidel")
Runtime type information.
static void smooth(const word &fieldName, Field< Type > &psi, const LduMatrix< Type, DType, LUType > &matrix, const Field< DType > &rD, const label nSweeps)
Smooth for the given number of sweeps.
const LduMatrix< Type, DType, LUType > & matrix() const noexcept
TGaussSeidelSmoother(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix)
Construct from components.
A class for handling words, derived from Foam::string.
const word & fieldName() const noexcept
LduMatrix is a general matrix class in which the coefficients are stored as three arrays...
const volScalarField & psi
Foam::TGaussSeidelSmoother.