55 e.dict().readEntry(
"smoother",
name);
68 const word& fieldName,
84 e.dict().readEntry(
"smoother",
name);
96 auto* ctorPtr = symMatrixConstructorTable(
name);
103 "symmetric matrix smoother",
105 *symMatrixConstructorTablePtr_
109 return autoPtr<lduMatrix::smoother>
123 auto* ctorPtr = asymMatrixConstructorTable(
name);
130 "asymmetric matrix smoother",
132 *asymMatrixConstructorTablePtr_
136 return autoPtr<lduMatrix::smoother>
150 <<
"cannot solve incomplete matrix, " 151 "no diagonal or off-diagonal coefficient" 162 const word& fieldName,
169 fieldName_(fieldName),
171 interfaceBouCoeffs_(interfaceBouCoeffs),
172 interfaceIntCoeffs_(interfaceIntCoeffs),
173 interfaces_(interfaces)
bool symmetric() const noexcept
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const entry & lookupEntry(const word &keyword, enum keyType::option matchOpt) const
Search for an entry (const access) with the given keyword.
A field of fields is a PtrList of fields with reference counting.
static word getName(const dictionary &)
Find the smoother name (directly or from a sub-dictionary)
Abstract base-class for lduMatrix smoothers.
const dimensionedScalar e
Elementary charge.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
bool asymmetric() const noexcept
smoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
Construct for given field name, matrix etc.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static autoPtr< smoother > New(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
Return a new smoother.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
A keyword and a list of tokens is an 'entry'.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...